Microsoft DirectX 8.1 (C++) |
Registers a lobby-aware application with DirectPlay. Applications must be registered to enable lobby launching.
HRESULT RegisterProgram( PDPL_PROGRAM_DESC pdplProgramDesc, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
The application needs to register only once. It should be unregistered with a call to the IDirectPlay8LobbiedApplication::UnRegisterProgram method when it is uninstalled.
In Microsoft DirectX® 8.1, RegisterProgram must be used. You cannot manually enter application information in the registry. Failure to use this interface makes your application nonportable and incompatible with later versions of DirectPlay.
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dplobby8.h.