1999-11-04 03:17:03 +01:00
|
|
|
|
|
|
|
#ifndef __WINE_DPLAYX_GLOBAL
|
|
|
|
#define __WINE_DPLAYX_GLOBAL
|
|
|
|
|
|
|
|
#include "dplay.h"
|
|
|
|
|
2000-07-10 15:19:28 +02:00
|
|
|
BOOL DPLAYX_ConstructData(void);
|
|
|
|
BOOL DPLAYX_DestructData(void);
|
|
|
|
|
|
|
|
HRESULT DPLAYX_GetConnectionSettingsA ( DWORD dwAppID,
|
|
|
|
LPVOID lpData,
|
2000-08-25 23:58:05 +02:00
|
|
|
LPDWORD lpdwDataSize );
|
2000-07-10 15:19:28 +02:00
|
|
|
HRESULT DPLAYX_GetConnectionSettingsW ( DWORD dwAppID,
|
|
|
|
LPVOID lpData,
|
2000-08-25 23:58:05 +02:00
|
|
|
LPDWORD lpdwDataSize );
|
2000-07-10 15:19:28 +02:00
|
|
|
|
|
|
|
HRESULT DPLAYX_SetConnectionSettingsA ( DWORD dwFlags,
|
|
|
|
DWORD dwAppID,
|
|
|
|
LPDPLCONNECTION lpConn );
|
|
|
|
HRESULT DPLAYX_SetConnectionSettingsW ( DWORD dwFlags,
|
|
|
|
DWORD dwAppID,
|
|
|
|
LPDPLCONNECTION lpConn );
|
1999-11-04 03:17:03 +01:00
|
|
|
|
2000-08-25 23:58:05 +02:00
|
|
|
BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID );
|
1999-11-25 23:04:53 +01:00
|
|
|
BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID );
|
1999-11-04 03:17:03 +01:00
|
|
|
|
2000-07-10 15:19:28 +02:00
|
|
|
BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait );
|
|
|
|
BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
|
|
|
|
|
2000-08-25 23:58:05 +02:00
|
|
|
BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
|
|
|
|
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead );
|
|
|
|
BOOL DPLAYX_GetThisLobbyHandles( LPHANDLE lphStart,
|
|
|
|
LPHANDLE lphDeath,
|
|
|
|
LPHANDLE lphConnRead, BOOL bClearSetHandles );
|
|
|
|
|
2000-05-27 00:26:30 +02:00
|
|
|
LPDPSESSIONDESC2 DPLAYX_CopyAndAllocateLocalSession( UINT* index );
|
|
|
|
BOOL DPLAYX_CopyLocalSession( UINT* index, LPDPSESSIONDESC2 lpsd );
|
|
|
|
void DPLAYX_SetLocalSession( LPCDPSESSIONDESC2 lpsd );
|
|
|
|
|
2000-08-25 23:58:05 +02:00
|
|
|
BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId );
|
|
|
|
|
|
|
|
/* FIXME: This should not be here */
|
|
|
|
LPVOID DPLAYX_PrivHeapAlloc( DWORD flags, DWORD size );
|
|
|
|
void DPLAYX_PrivHeapFree( LPVOID addr );
|
|
|
|
|
|
|
|
LPSTR DPLAYX_strdupA( DWORD flags, LPCSTR str );
|
|
|
|
LPWSTR DPLAYX_strdupW( DWORD flags, LPCWSTR str );
|
|
|
|
/* FIXME: End shared data alloc which should be local */
|
|
|
|
|
|
|
|
|
1999-11-25 23:04:53 +01:00
|
|
|
/* Convert a DP or DPL HRESULT code into a string for human consumption */
|
|
|
|
LPCSTR DPLAYX_HresultToString( HRESULT hr );
|
1999-11-04 03:17:03 +01:00
|
|
|
|
|
|
|
#endif /* __WINE_DPLAYX_GLOBAL */
|