source: trunk/src/DPlayX/dplayx_global.h@ 4316

Last change on this file since 4316 was 4314, checked in by hugh, 25 years ago

Updated to latest wine version

File size: 2.0 KB
Line 
1
2#ifndef __WINE_DPLAYX_GLOBAL
3#define __WINE_DPLAYX_GLOBAL
4
5#include "dplay.h"
6
7BOOL DPLAYX_ConstructData(void);
8BOOL DPLAYX_DestructData(void);
9
10HRESULT DPLAYX_GetConnectionSettingsA ( DWORD dwAppID,
11 LPVOID lpData,
12 LPDWORD lpdwDataSize );
13HRESULT DPLAYX_GetConnectionSettingsW ( DWORD dwAppID,
14 LPVOID lpData,
15 LPDWORD lpdwDataSize );
16
17HRESULT DPLAYX_SetConnectionSettingsA ( DWORD dwFlags,
18 DWORD dwAppID,
19 LPDPLCONNECTION lpConn );
20HRESULT DPLAYX_SetConnectionSettingsW ( DWORD dwFlags,
21 DWORD dwAppID,
22 LPDPLCONNECTION lpConn );
23
24BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID );
25BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID );
26
27BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait );
28BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
29
30BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
31 HANDLE hStart, HANDLE hDeath, HANDLE hConnRead );
32BOOL DPLAYX_GetThisLobbyHandles( LPHANDLE lphStart,
33 LPHANDLE lphDeath,
34 LPHANDLE lphConnRead, BOOL bClearSetHandles );
35
36LPDPSESSIONDESC2 DPLAYX_CopyAndAllocateLocalSession( UINT* index );
37BOOL DPLAYX_CopyLocalSession( UINT* index, LPDPSESSIONDESC2 lpsd );
38void DPLAYX_SetLocalSession( LPCDPSESSIONDESC2 lpsd );
39
40BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId );
41
42/* FIXME: This should not be here */
43LPVOID DPLAYX_PrivHeapAlloc( DWORD flags, DWORD size );
44void DPLAYX_PrivHeapFree( LPVOID addr );
45
46LPSTR DPLAYX_strdupA( DWORD flags, LPCSTR str );
47LPWSTR DPLAYX_strdupW( DWORD flags, LPCWSTR str );
48/* FIXME: End shared data alloc which should be local */
49
50
51/* Convert a DP or DPL HRESULT code into a string for human consumption */
52LPCSTR DPLAYX_HresultToString( HRESULT hr );
53
54#endif /* __WINE_DPLAYX_GLOBAL */
Note: See TracBrowser for help on using the repository browser.