IDirectPlayLobby3::RegisterApplication
IDirectPlayLobby3 InterfaceRegisters a lobby-aware application with DirectPlay. An application must be registered so that a DirectPlay lobby can launch it.
The application only needs to be registered once. The application must also be unregistered (see IDirectPlayLobby3::UnregisterApplication) when it is uninstalled.
Syntax
HRESULT RegisterApplication(
DWORD dwFlags,
LPDPAPPLICATIONDESC lpAppDesc
);Parameters
- dwFlags
- Reserved; must be zero.
- lpAppDesc
- Pointer to a DPAPPLICATIONDESC structure that has been filled in with all the registration values for the application.
Return Value
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDFLAGS DPERR_INVALIDPARAMS See Also
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.