146 if (
This->lpVtbl != 0)
185 DWORD devicetypes = 0;
204 if (reenable ==
FALSE)
209 This->lpLcl->lpGbl->dwRefCnt++;
233 if (reenable ==
FALSE)
296 This->lpLcl->lpDDCB =
This->lpLcl->lpGbl->lpDDCBtmp;
302 This->lpLcl->lpDDCB->HELDD.dwFlags = 0;
307 This->lpLcl->lpDDCB->HALDD.dwFlags = 0;
339 This->lpLcl->lpDDCB =
This->lpLcl->lpGbl->lpDDCBtmp;
372 if (reenable ==
FALSE)
477 if (reenable ==
FALSE)
530 if (
This->lpLcl->lpGbl->lpdwFourCC !=
NULL)
552 if (
This->lpLcl->lpGbl->texture !=
NULL)
560 mpTextures = (DDSURFACEDESC*) DxHeapMemAlloc(sizeof(DDSURFACEDESC) * mD3dDriverData.dwNumTextureFormats);
561 if (mpTextures == NULL)
563 DxHeapMemFree(mpFourCC);
564 DxHeapMemFree(ddgbl.lpDDCBtmp);
DWORD CALLBACK HelDdSetExclusiveMode(LPDDHAL_SETEXCLUSIVEMODEDATA lpSetExclusiveMode)
DWORD CALLBACK HelDdFlipToGDISurface(LPDDHAL_FLIPTOGDISURFACEDATA lpFlipToGDISurface)
DWORD CALLBACK HelDdCanCreateSurface(LPDDHAL_CANCREATESURFACEDATA lpCanCreateSurface)
DWORD CALLBACK HelDdSetMode(LPDDHAL_SETMODEDATA SetMode)
DWORD CALLBACK HelDdGetScanLine(LPDDHAL_GETSCANLINEDATA lpGetScanLine)
DWORD CALLBACK HelDdCreateSurface(LPDDHAL_CREATESURFACEDATA lpCreateSurface)
DWORD CALLBACK HelDdDestroyDriver(LPDDHAL_DESTROYDRIVERDATA lpDestroyDriver)
DWORD CALLBACK HelDdCreatePalette(LPDDHAL_CREATEPALETTEDATA lpCreatePalette)
DWORD CALLBACK HelDdWaitForVerticalBlank(LPDDHAL_WAITFORVERTICALBLANKDATA lpWaitForVerticalBlank)
DWORD CALLBACK HelDdSetColorKey(LPDDHAL_DRVSETCOLORKEYDATA lpDrvSetColorKey)
#define DdCreateDirectDrawObject
#define DdQueryDirectDrawObject
#define DdReenableDirectDrawObject
#define DDRAWI_NOHARDWARE
#define DDHAL_SURFCB32_DESTROYSURFACE
#define DDRAWI_ATTACHEDTODESKTOP
#define DDHAL_CB32_CREATEPALETTE
#define DDHAL_CB32_SETEXCLUSIVEMODE
#define DDHAL_SURFCB32_BLT
#define DDHAL_SURFCB32_GETFLIPSTATUS
#define DDHAL_SURFCB32_LOCK
#define DDHAL_CB32_DESTROYDRIVER
struct _DDHAL_GETDRIVERINFODATA DDHAL_GETDRIVERINFODATA
#define DDHAL_SURFCB32_SETPALETTE
#define DDHAL_CB32_GETSCANLINE
#define DDRAWI_DISPLAYDRV
struct _DDRAWI_DIRECTDRAW_INT * LPDDRAWI_DIRECTDRAW_INT
#define DDHAL_SURFCB32_GETBLTSTATUS
#define DDHAL_SURFCB32_SETCLIPLIST
#define DDHAL_SURFCB32_UNLOCK
#define DDHAL_SURFCB32_SETOVERLAYPOSITION
#define DDHAL_CB32_CANCREATESURFACE
#define DDHALINFO_GETDRIVERINFOSET
#define DDHALINFO_GETDRIVERINFO2
#define DDRAWILCL_DIRECTDRAW7
#define DDHAL_SURFCB32_ADDATTACHEDSURFACE
#define DDRAWI_DRIVERINFO2
#define DDHAL_SURFCB32_SETCOLORKEY
#define DDHAL_SURFCB32_UPDATEOVERLAY
#define DDRAWI_EMULATIONINITIALIZED
#define DDHAL_CB32_SETCOLORKEY
#define DDHAL_CB32_WAITFORVERTICALBLANK
#define DDRAWI_NOEMULATION
#define DDHAL_SURFCB32_FLIP
#define DDHAL_CB32_SETMODE
#define DDHAL_CB32_FLIPTOGDISURFACE
#define DDHAL_CB32_CREATESURFACE
#define DDHAL_DRIVER_NOTHANDLED
#define DDHAL_SURFCB32_RESERVED4
DWORD CALLBACK HelDdSurfSetClipList(LPDDHAL_SETCLIPLISTDATA lpSetClipListData)
DWORD CALLBACK HelDdSurfGetFlipStatus(LPDDHAL_GETFLIPSTATUSDATA lpGetFlipStatusData)
DWORD CALLBACK HelDdSurfDestroySurface(LPDDHAL_DESTROYSURFACEDATA lpDestroySurfaceData)
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData)
DWORD CALLBACK HelDdSurfreserved4(DWORD *lpPtr)
DWORD CALLBACK HelDdSurfSetColorKey(LPDDHAL_SETCOLORKEYDATA lpSetColorKeyData)
DWORD CALLBACK HelDdSurfFlip(LPDDHAL_FLIPDATA lpFlipData)
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData)
DWORD CALLBACK HelDdSurfSetOverlayPosition(LPDDHAL_SETOVERLAYPOSITIONDATA lpSetOverlayPositionData)
DWORD CALLBACK HelDdSurfGetBltStatus(LPDDHAL_GETBLTSTATUSDATA lpGetBltStatusData)
DWORD CALLBACK HelDdSurfLock(LPDDHAL_LOCKDATA lpLockData)
DWORD CALLBACK HelDdSurfBlt(LPDDHAL_BLTDATA lpBltData)
DWORD CALLBACK HelDdSurfSetPalette(LPDDHAL_SETPALETTEDATA lpSetPaletteData)
DWORD CALLBACK HelDdSurfAddAttachedSurface(LPDDHAL_ADDATTACHEDSURFACEDATA lpDestroySurface)
HRESULT WINAPI Create_DirectDraw(LPGUID pGUID, LPDIRECTDRAW *pIface, REFIID id, BOOL reenable)
HRESULT WINAPI StartDirectDrawHel(LPDIRECTDRAW iface, BOOL reenable)
DDRAWI_DDRAWSURFACE_GBL ddSurfGbl
DDRAWI_DIRECTDRAW_GBL ddgbl
HRESULT WINAPI StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
HRESULT WINAPI StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
BOOL WINAPI IsBadReadPtr(IN LPCVOID lp, IN UINT_PTR ucb)
DWORD WINAPI DdGetDriverInfo(LPDDHAL_GETDRIVERINFODATA pData)
#define EXCEPTION_EXECUTE_HANDLER
#define memcpy(s1, s2, n)
DDSURFACEDESC * mpTextures
DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks
D3DHAL_CALLBACKS mD3dCallbacks
D3DHAL_GLOBALDRIVERDATA mD3dDriverData
#define IsEqualGUID(rguid1, rguid2)
#define _SEH2_EXCEPT(...)
IDirectDraw7Vtbl DirectDraw7_Vtable
IDirectDraw2Vtbl DirectDraw2_Vtable
#define DxHeapMemAlloc(p, m)
IDirectDrawVtbl DirectDraw_Vtable
IDirectDraw4Vtbl DirectDraw4_Vtable
#define DX_WINDBG_trace()
#define DDERR_NODIRECTDRAWSUPPORT
#define DDERR_OUTOFMEMORY
struct IDirectDraw * LPDIRECTDRAW
#define DDERR_INVALIDDIRECTDRAWGUID
#define DDCREATE_HARDWAREONLY
#define DDERR_INVALIDPARAMS
#define DDCREATE_EMULATIONONLY
DWORD dwNumTextureFormats
LPDDHAL_GETDRIVERINFO GetDriverInfo
DDHAL_DDEXEBUFCALLBACKS HALDDExeBuf
DDHAL_DDSURFACECALLBACKS HALDDSurface
DDHAL_DDPALETTECALLBACKS HALDDPalette
DDHAL_DDMISCELLANEOUSCALLBACKS HALDDMiscellaneous
DDHAL_DDSURFACECALLBACKS HELDDSurface
LPDDHAL_DESTROYDRIVER DestroyDriver
LPDDHAL_FLIPTOGDISURFACE FlipToGDISurface
LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank
LPDDHAL_SETCOLORKEY SetColorKey
LPDDHAL_GETSCANLINE GetScanLine
LPDDHAL_CREATEPALETTE CreatePalette
LPDDHAL_CREATESURFACE CreateSurface
LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode
LPDDHAL_CANCREATESURFACE CanCreateSurface
LPDDHALSURFCB_GETFLIPSTATUS GetFlipStatus
LPDDHALSURFCB_SETCLIPLIST SetClipList
LPDDHALSURFCB_UNLOCK Unlock
LPDDHALSURFCB_SETOVERLAYPOSITION SetOverlayPosition
LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay
LPDDHALSURFCB_SETPALETTE SetPalette
LPDDHALSURFCB_ADDATTACHEDSURFACE AddAttachedSurface
LPDDHALSURFCB_GETBLTSTATUS GetBltStatus
LPDDHALSURFCB_DESTROYSURFACE DestroySurface
LPDDHALSURFCB_SETCOLORKEY SetColorKey
LPDDHALMODEINFO lpModeInfo
char cDriverName[MAX_DRIVER_NAME]
LPDDHAL_CALLBACKS lpDDCBtmp
LPDDRAWI_DIRECTDRAW_LCL lpLcl
LPDDRAWI_DIRECTDRAW_INT lpLink
DDPIXELFORMAT ddpfDisplay
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
DWORD WINAPI GetCurrentProcessId(void)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
HDC WINAPI CreateDCA(_In_opt_ LPCSTR pszDriver, _In_opt_ LPCSTR pszDevice, _In_opt_ LPCSTR pszOutput, _In_opt_ const DEVMODEA *pdmInit)
HDC WINAPI GetWindowDC(_In_opt_ HWND)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList