DirectX SDK |
The DirectPlayLobbyCreate function creates an instance of a DirectPlayLobby object and returns a pointer to the IDirectPlayLobby interface.
HRESULT WINAPI DirectPlayLobbyCreate( LPGUID lpGUIDSP, LPDIRECTPLAYLOBBY *lplpDPL, IUnknown *lpUnk, LPVOID lpData, DWORD dwDataSize );
IDirectPlayLobby->QueryInterface( IID_IDirectPlayLobby3, (LPVOID*) &lpDP2 );
Returns DP_OK if successful, or one of the following error values otherwise:
CLASS_E_NOAGGREGATION |
DPERR_INVALIDPARAMS |
DPERR_OUTOFMEMORY |
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.