ReactOS 0.4.16-dev-320-g3bd9ddc
|
#include <stdarg.h>
#include <string.h>
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wingdi.h"
#include "winuser.h"
#include "dplayx_global.h"
#include "dplayx_messages.h"
Go to the source code of this file.
Classes | |
struct | DPLAYX_MEM_SLICE |
struct | tagDPLAYX_LOBBYDATA |
Macros | |
#define | NONAMELESSUNION |
#define | DPLAYX_AcquireSemaphore() |
#define | DPLAYX_ReleaseSemaphore() |
#define | dwStaticSharedSize (128 * 1024) /* 128 KBytes */ |
#define | dwDynamicSharedSize (512 * 1024) /* 512 KBytes */ |
#define | dwTotalSharedSize ( dwStaticSharedSize + dwDynamicSharedSize ) |
#define | dwBlockSize 512 |
#define | dwMaxBlock (dwDynamicSharedSize/dwBlockSize) |
Typedefs | |
typedef struct tagDPLAYX_LOBBYDATA | DPLAYX_LOBBYDATA |
typedef struct tagDPLAYX_LOBBYDATA * | LPDPLAYX_LOBBYDATA |
Enumerations | |
enum | { numSupportedLobbies = 32 , numSupportedSessions = 32 } |
Variables | |
static const char | lpszDplayxSemaName [] = "WINE_DPLAYX_SM" |
static HANDLE | hDplayxSema |
static const char | lpszDplayxFileMapping [] = "WINE_DPLAYX_FM" |
static HANDLE | hDplayxSharedMem |
static LPVOID | lpSharedStaticData = NULL |
static DPLAYX_MEM_SLICE * | lpMemArea |
static DPLAYX_LOBBYDATA * | lobbyData = NULL |
static DPSESSIONDESC2 * | sessionData = NULL |
#define DPLAYX_AcquireSemaphore | ( | ) |
Definition at line 62 of file dplayx_global.c.
#define DPLAYX_ReleaseSemaphore | ( | ) |
Definition at line 66 of file dplayx_global.c.
#define dwBlockSize 512 |
Definition at line 80 of file dplayx_global.c.
#define dwDynamicSharedSize (512 * 1024) /* 512 KBytes */ |
Definition at line 72 of file dplayx_global.c.
#define dwMaxBlock (dwDynamicSharedSize/dwBlockSize) |
Definition at line 81 of file dplayx_global.c.
#define dwStaticSharedSize (128 * 1024) /* 128 KBytes */ |
Definition at line 71 of file dplayx_global.c.
#define dwTotalSharedSize ( dwStaticSharedSize + dwDynamicSharedSize ) |
Definition at line 73 of file dplayx_global.c.
#define NONAMELESSUNION |
Definition at line 35 of file dplayx_global.c.
typedef struct tagDPLAYX_LOBBYDATA * LPDPLAYX_LOBBYDATA |
anonymous enum |
C_ASSERT | ( | sizeof(DPLAYX_MEM_SLICE) | = =dwBlockSize | ) |
Definition at line 1017 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_RunApplication().
Definition at line 357 of file dplayx_global.c.
Referenced by DllMain().
|
static |
Definition at line 540 of file dplayx_global.c.
Referenced by DPLAYX_GetConnectionSettingsA(), and DPLAYX_SetConnectionSettingsA().
|
static |
Definition at line 608 of file dplayx_global.c.
Referenced by DPLAYX_GetConnectionSettingsW(), and DPLAYX_SetConnectionSettingsW().
Definition at line 214 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_RunApplication(), IDirectPlayLobby3AImpl_SetConnectionSettings(), and IDirectPlayLobby3Impl_SetConnectionSettings().
Definition at line 506 of file dplayx_global.c.
Referenced by DllMain().
Definition at line 774 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_GetConnectionSettings().
Definition at line 830 of file dplayx_global.c.
Referenced by IDirectPlayLobby3Impl_GetConnectionSettings().
|
static |
Definition at line 282 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData(), DPLAYX_DestructData(), DPLAYX_GetConnectionSettingsA(), and DPLAYX_GetConnectionSettingsW().
Definition at line 1063 of file dplayx_global.c.
Referenced by DirectPlayCreate(), DP_BuildSPCompoundAddr(), DP_EnumSessionsSendAsyncRequestThread(), DP_IF_CreatePlayer(), DP_InitializeDPLSP(), DP_InitializeDPSP(), DP_MSG_ErrorReceived(), DP_MSG_ExpectReply(), DP_SecureOpen(), DPL_ConnectEx(), IDirectPlay4AImpl_EnumConnections(), IDirectPlayLobby3AImpl_RunApplication(), IDirectPlaySPImpl_GetSPPlayerData(), and IDirectPlaySPImpl_HandleMessage().
|
static |
Definition at line 178 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData().
|
static |
Definition at line 187 of file dplayx_global.c.
Referenced by DPLAYX_GetConnectionSettingsA(), DPLAYX_GetConnectionSettingsW(), DPLAYX_GetThisLobbyHandles(), DPLAYX_SetConnectionSettingsA(), DPLAYX_SetConnectionSettingsW(), DPLAYX_SetLobbyHandles(), DPLAYX_SetLobbyMsgThreadId(), and DPLAYX_WaitForConnectionSettings().
Definition at line 109 of file dplayx_global.c.
Referenced by DPLAYX_SetConnectionSettingsA(), and DPLAYX_SetConnectionSettingsW().
Definition at line 92 of file dplayx_global.c.
Referenced by DPLAYX_SetConnectionSettingsA(), and DPLAYX_SetConnectionSettingsW().
HRESULT DPLAYX_SetConnectionSettingsA | ( | DWORD | dwFlags, |
DWORD | dwAppID, | ||
const DPLCONNECTION * | lpConn | ||
) |
Definition at line 888 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_SetConnectionSettings().
HRESULT DPLAYX_SetConnectionSettingsW | ( | DWORD | dwFlags, |
DWORD | dwAppID, | ||
const DPLCONNECTION * | lpConn | ||
) |
Definition at line 951 of file dplayx_global.c.
Referenced by IDirectPlayLobby3Impl_SetConnectionSettings().
Definition at line 254 of file dplayx_global.c.
Referenced by DPL_CreateAndSetLobbyHandles().
Definition at line 1040 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_RunApplication().
|
static |
Definition at line 676 of file dplayx_global.c.
Referenced by DPLAYX_GetConnectionSettingsA(), and DPLAYX_SetConnectionSettingsA().
|
static |
Definition at line 723 of file dplayx_global.c.
Referenced by DPLAYX_GetConnectionSettingsW(), and DPLAYX_SetConnectionSettingsW().
Definition at line 998 of file dplayx_global.c.
Referenced by IDirectPlayLobby3AImpl_WaitForConnectionSettings(), and IDirectPlayLobby3Impl_WaitForConnectionSettings().
WINE_DEFAULT_DEBUG_CHANNEL | ( | dplay | ) |
|
static |
Definition at line 54 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData(), and DPLAYX_DestructData().
|
static |
Definition at line 57 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData(), and DPLAYX_DestructData().
|
static |
Definition at line 171 of file dplayx_global.c.
Referenced by DPLAYX_AnyLobbiesWaitingForConnSettings(), DPLAYX_ConstructData(), DPLAYX_CreateLobbyApplication(), and DPLAYX_IsAppIdLobbied().
|
static |
Definition at line 90 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData(), DPLAYX_PrivHeapAlloc(), and DPLAYX_PrivHeapFree().
Definition at line 59 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData(), and DPLAYX_DestructData().
Definition at line 56 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData().
Definition at line 53 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData().
|
static |
Definition at line 174 of file dplayx_global.c.
Referenced by DPLAYX_ConstructData().