Platform SDK: DirectX |
In order to be recognized and launched by a DirectPlay lobby client, an application needs to be entered as a DirectPlay application in the system registry. Normally you would register the application during setup, which requires creating a DirectPlayLobby3 object in the setup program. The application must also be unregistered when it is uninstalled.
You can register your application by filling in the DPAPPLICATIONDESC or DPAPPLICATIONDESC2 structure with the necessary information, then passing it to IDirectPlayLobby3::RegisterApplication. To remove the registry entries, call IDirectPlayLobby3::UnRegisterApplication.
You can also register a lobby-aware application during the DirectX setup process, by calling the DirectXRegisterApplication function. The advantage of this function is that it can be called before the DirectPlay run-time files have been installed.
You can register your application by filling in the DPAPPLICATIONDESC2 type with the necessary information, then passing it to DirectPlayLobby3.RegisterApplication. To remove the registry entries, call DirectPlayLobby3.UnRegisterApplication.