Making Your Application Lobby Aware

The Application class in the Lobby namespace is how you can actually receive information after you've been launched from a lobby, as well as how you register your application as being lobby-aware. The act of registering your application is quite simple; we will look at this first.

In order to register your application, you will first need to create a ProgramDescription structure. At the very least, you will need to fill out the application GUID and name parameters, as well as the executable path and filename members. The others are optional. Then you can call either the RegisterProgram or UnregisterProgram method, depending on the operation you wish to perform.

We never actually looked at the constructor for ...

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.