Microsoft DirectX 8.0 (C++) |
Connects a lobby-enabled application to the session specified in the DPL_CONNECT_INFO structure. If the application is not running, this method can be used to launch the application.
When the connection is successfully established, the lobbied application generates a DPL_MSGID_CONNECT system message to the message handler.
HRESULT ConnectApplication( DPL_CONNECT_INFO *const pdplConnectionInfo, const PVOID pvUserApplicationContext, DPNHANDLE *const phApplication, const DWORD dwTimeOut, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_CANTLAUNCHAPPLICATION |
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
DPNERR_TIMEDOUT |
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.