Microsoft DirectX 8.0 (C++) |
Registers an entry point in the lobby client's code that receives notifications on changes of state for any launched applications. The message handler also receives messages from the lobbied application. This method must be called before calling any other methods of this interface.
HRESULT Initialize( const PVOID pvUserContext, const PFNDPNMESSAGEHANDLER pfn, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
Call this is method first after using CoCreateInstance to obtain the IDirectPlay8LobbyClient interface.
Windows NT/2000: Available as a redistributable for Windows 2000 and later.
Windows 95/98: Available as a redistributable for Windows 95 and later.
Header: Declared in Dplobby8.h.