IDirectPlay8Client::RegisterLobby Method

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

IDirectPlay8Client::RegisterLobby Method


Allows launched applications to automatically propagate game status to the lobby.

Syntax

HRESULT RegisterLobby(      
    const DPNHANDLE dpnHandle,     IDirectPlay8LobbiedApplication *const pIDP8LobbiedApplication,     const DWORD dwFlags );

Parameters

dpnHandle
[in] Connection handle used when making the calls to IDirectPlay8LobbiedApplication::UpdateStatus.
pIDP8LobbiedApplication
[in] Pointer to the IDirectPlay8LobbiedApplication object that specifies the application.
dwFlags
[in] One of the following flags:
DPNLOBBY_REGISTER
Registers the lobby with the application.
DPNLOBBY_UNREGISTER
Unregisters the lobby with the application.

Return Value

Returns S_OK if successful, or the following error value.

DPNERR_INVALIDPARAMOne or more of the parameters passed to the method are invalid.



© 2003 Microsoft Corporation. All rights reserved.