DirectXRegisterApplication

int WINAPI DirectXRegisterApplication(HWND hWnd,

LPDIRECTXREGISTERAPP lpDXRegApp);

Registers an ISV's game as an application designed to work with DirectPlayLobby.

·Returns TRUE if successful, or FALSE otherwise. If FALSE is returned, use the GetLastError Win32 function to get extended error information.

hWnd

Handle of the parent window. If this parameter is set to NULL, the desktop is the parent window.

lpDXRegApp

Address of the DIRECTXREGISTERAPP structure that contains the registry entries. These entries need to be filled in.