appwiz.cpl: Add imagelist for listview.
[wine/multimedia.git] / dlls / dplayx / dplayx_global.h
bloba4d109a9c9bcaec5b4f2a0eb9461c04771ca07b9
1 /*
2 * Copyright 1999, 2000 Peter Hunnisett
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_DPLAYX_GLOBAL
20 #define __WINE_DPLAYX_GLOBAL
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winuser.h"
27 #include "dplay.h"
29 BOOL DPLAYX_ConstructData(void);
30 BOOL DPLAYX_DestructData(void);
32 HRESULT DPLAYX_GetConnectionSettingsA ( DWORD dwAppID,
33 LPVOID lpData,
34 LPDWORD lpdwDataSize );
35 HRESULT DPLAYX_GetConnectionSettingsW ( DWORD dwAppID,
36 LPVOID lpData,
37 LPDWORD lpdwDataSize );
39 HRESULT DPLAYX_SetConnectionSettingsA ( DWORD dwFlags,
40 DWORD dwAppID,
41 const DPLCONNECTION *lpConn );
42 HRESULT DPLAYX_SetConnectionSettingsW ( DWORD dwFlags,
43 DWORD dwAppID,
44 const DPLCONNECTION *lpConn );
46 BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID );
47 BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID );
49 BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait );
50 BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void);
52 BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
53 HANDLE hStart, HANDLE hDeath, HANDLE hConnRead );
55 LPDPSESSIONDESC2 DPLAYX_CopyAndAllocateLocalSession( UINT* index );
56 BOOL DPLAYX_CopyLocalSession( UINT* index, LPDPSESSIONDESC2 lpsd );
57 void DPLAYX_SetLocalSession( LPCDPSESSIONDESC2 lpsd );
59 BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId );
61 /* FIXME: This should not be here */
62 LPVOID DPLAYX_PrivHeapAlloc( DWORD flags, DWORD size );
63 void DPLAYX_PrivHeapFree( LPVOID addr );
65 LPSTR DPLAYX_strdupA( DWORD flags, LPCSTR str );
66 LPWSTR DPLAYX_strdupW( DWORD flags, LPCWSTR str );
67 /* FIXME: End shared data alloc which should be local */
70 /* Convert a DP or DPL HRESULT code into a string for human consumption */
71 LPCSTR DPLAYX_HresultToString( HRESULT hr );
73 #endif /* __WINE_DPLAYX_GLOBAL */