|Microsoft DirectX 9.0|
A lobbyable application must be registered before it can be lobby launched. This registration needs to be done only once and is typically handled by the application's setup procedure. Do not attempt to modify the registry directly to register an application as lobbyable. Instead, do the following:
You must provide IDirectPlay8LobbiedApplication::RegisterProgram with a variety of information, including the following:
Instead of launching the game application, Microsoft?DirectPlay?launches a launcher application. The launcher application then launches the game. Launcher applications can be used, for example, as an anti-piracy measure.
To unregister a registered program, call IDirectPlay8LobbiedApplication::UnRegisterProgram. This method removes the registry entries created by IDirectPlay8LobbiedApplication::RegisterProgram.