Platform SDK: DirectX |
The IDirectPlayLobby3::RegisterApplication method registers a lobby-aware application with DirectPlay. An application must be registered so that a DirectPlay lobby can launch it.
The application needs to be registered only once. The application must also be unregistered (see IDirectPlayLobby3::UnregisterApplication) when it is uninstalled.
HRESULT RegisterApplication( DWORD dwFlags, LPVOID lpAppDesc );
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDFLAGS |
DPERR_INVALIDPARAMS |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplobby.h.
Import Library: Use dplayx.lib.
IDirectPlayLobby3::UnregisterApplication, DirectXRegisterApplication