Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendplayx_global.h
Go to the documentation of this file.
00001 /* 00002 * Copyright 1999, 2000 Peter Hunnisett 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 */ 00018 00019 #ifndef __WINE_DPLAYX_GLOBAL 00020 #define __WINE_DPLAYX_GLOBAL 00021 00022 #include <stdarg.h> 00023 00024 #include "windef.h" 00025 #include "winbase.h" 00026 #include "winuser.h" 00027 #include "dplay.h" 00028 00029 BOOL DPLAYX_ConstructData(void); 00030 BOOL DPLAYX_DestructData(void); 00031 00032 HRESULT DPLAYX_GetConnectionSettingsA ( DWORD dwAppID, 00033 LPVOID lpData, 00034 LPDWORD lpdwDataSize ); 00035 HRESULT DPLAYX_GetConnectionSettingsW ( DWORD dwAppID, 00036 LPVOID lpData, 00037 LPDWORD lpdwDataSize ); 00038 00039 HRESULT DPLAYX_SetConnectionSettingsA ( DWORD dwFlags, 00040 DWORD dwAppID, 00041 LPDPLCONNECTION lpConn ); 00042 HRESULT DPLAYX_SetConnectionSettingsW ( DWORD dwFlags, 00043 DWORD dwAppID, 00044 LPDPLCONNECTION lpConn ); 00045 00046 BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID ); 00047 BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID ); 00048 00049 BOOL DPLAYX_WaitForConnectionSettings( BOOL bWait ); 00050 BOOL DPLAYX_AnyLobbiesWaitingForConnSettings(void); 00051 00052 BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID, 00053 HANDLE hStart, HANDLE hDeath, HANDLE hConnRead ); 00054 BOOL DPLAYX_GetThisLobbyHandles( LPHANDLE lphStart, 00055 LPHANDLE lphDeath, 00056 LPHANDLE lphConnRead, BOOL bClearSetHandles ); 00057 00058 LPDPSESSIONDESC2 DPLAYX_CopyAndAllocateLocalSession( UINT* index ); 00059 BOOL DPLAYX_CopyLocalSession( UINT* index, LPDPSESSIONDESC2 lpsd ); 00060 void DPLAYX_SetLocalSession( LPCDPSESSIONDESC2 lpsd ); 00061 00062 BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId ); 00063 00064 /* FIXME: This should not be here */ 00065 LPVOID DPLAYX_PrivHeapAlloc( DWORD flags, DWORD size ); 00066 void DPLAYX_PrivHeapFree( LPVOID addr ); 00067 00068 LPSTR DPLAYX_strdupA( DWORD flags, LPCSTR str ); 00069 LPWSTR DPLAYX_strdupW( DWORD flags, LPCWSTR str ); 00070 /* FIXME: End shared data alloc which should be local */ 00071 00072 00073 /* Convert a DP or DPL HRESULT code into a string for human consumption */ 00074 LPCSTR DPLAYX_HresultToString( HRESULT hr ); 00075 00076 #endif /* __WINE_DPLAYX_GLOBAL */ Generated on Sat May 26 2012 04:20:10 for ReactOS by
1.7.6.1
|