ReactOS  0.4.15-dev-499-g1f31905
ddraw.h
Go to the documentation of this file.
1 /* public interfaces we doing pur type cast here instead in the code, it will make more cleaner code */
2 
6  REFIID id,
7  LPVOID *obj);
8 
11 
14 
17 
21  DWORD dwFlags,
22  LPDIRECTDRAWCLIPPER *ppClipper,
23  IUnknown *pUnkOuter);
24 
28  DWORD dwFlags,
29  LPPALETTEENTRY palent,
30  LPDIRECTDRAWPALETTE* ppPalette,
31  LPUNKNOWN pUnkOuter);
32 
36  LPDDSURFACEDESC pDDSD,
38  IUnknown *pUnkOuter);
39 
43  LPDDSURFACEDESC2 pDDSD,
45  IUnknown *pUnkOuter);
46 
52 
56  DWORD dwFlags,
57  LPDDSURFACEDESC pDDSD,
58  LPVOID pContext,
59  LPDDENUMMODESCALLBACK pCallback);
60 
64  DWORD dwFlags,
65  LPDDSURFACEDESC2 pDDSD,
66  LPVOID pContext,
67  LPDDENUMMODESCALLBACK2 pCallback);
68 
72  DWORD dwFlags,
73  LPDDSURFACEDESC lpDDSD2,
76 
80  DWORD dwFlags,
81  LPDDSURFACEDESC2 lpDDSD2,
84 
88  DWORD dwFlags,
89  LPDDSURFACEDESC2 lpDDSD2,
92 
95 
99  LPDDCAPS pDriverCaps,
100  LPDDCAPS pHELCaps);
101 
105  LPDDSURFACEDESC pDDSD);
106 
110  LPDDSURFACEDESC2 pDDSD);
111 
115  LPDWORD lpNumCodes,
116  LPDWORD lpCodes);
117 
121  LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface);
122 
126  LPDWORD lpFreq);
127 
128 
131  LPDWORD lpdwScanLine);
132 
136  LPBOOL lpbIsInVB);
137 
141  LPGUID lpGUID);
142 
143 
146 
150  HWND hwnd,
151  DWORD cooplevel);
152 
156  DWORD dwWidth,
157  DWORD dwHeight,
158  DWORD dwBPP);
159 
163  DWORD dwWidth,
164  DWORD dwHeight,
165  DWORD dwBPP,
167  DWORD dwFlags);
168 
172  DWORD dwFlags,
173  HANDLE h);
174 
175 
179  LPDDSCAPS2 ddscaps,
180  LPDWORD dwTotal,
181  LPDWORD dwFree);
182 
186  HDC hdc,
187  LPDIRECTDRAWSURFACE7 *lpDDS);
188 
191 
194 
198  LPDDDEVICEIDENTIFIER2 pDDDI,
199  DWORD dwFlags);
200 
204  LPSIZE pModes,
205  DWORD dwNumModes,
206  DWORD dwFlags);
207 
211  DWORD a,
212  DWORD* b);
213 
214 
215 
216 
217 // hel callbacks
218 
233 
234 
235 
236 
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
Definition: ddraw_stubs.c:87
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD)
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
#define REFIID
Definition: guiddef.h:118
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1261
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1259
Definition: http.c:7094
HRESULT WINAPI Main_DirectDraw_SetDisplayMode2(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
HRESULT WINAPI Main_DirectDraw_Initialize(LPDDRAWI_DIRECTDRAW_INT This, LPGUID lpGUID)
Definition: ddraw_main.c:247
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
Definition: ddraw_stubs.c:72
static HDC
Definition: imagelist.c:92
#define CALLBACK
Definition: compat.h:27
DWORD CALLBACK HelDdSurfGetFlipStatus(LPDDHAL_GETFLIPSTATUSDATA lpGetFlipStatusData)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces4(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK2 callback)
Definition: ddraw_stubs.c:43
DWORD CALLBACK HelDdSurfLock(LPDDHAL_LOCKDATA lpLockData)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
Definition: ddraw_main.c:545
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData)
DWORD CALLBACK HelDdSurfreserved4(DWORD *lpPtr)
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
HRESULT WINAPI Main_DirectDraw_EvaluateMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD a, DWORD *b)
Definition: ddraw_stubs.c:131
DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData)
HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:117
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpFreq)
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSCAPS2 ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
Definition: ddraw_main.c:318
static LPUNKNOWN
Definition: ndr_ole.c:49
DWORD CALLBACK HelDdSurfSetColorKey(LPDDHAL_SETCOLORKEYDATA lpSetColorKeyData)
HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC(LPDDRAWI_DIRECTDRAW_INT This, HDC hdc, LPDIRECTDRAWSURFACE7 *lpDDS)
Definition: ddraw_stubs.c:104
DWORD CALLBACK HelDdSurfGetBltStatus(LPDDHAL_GETBLTSTATUSDATA lpGetBltStatusData)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
Definition: ddraw_stubs.c:34
DWORD CALLBACK HelDdSurfFlip(LPDDHAL_FLIPDATA lpFlipData)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 pDDSD)
static const WCHAR dwHeight[]
Definition: provider.c:63
DWORD CALLBACK HelDdSurfSetClipList(LPDDHAL_SETCLIPLISTDATA lpSetClipListData)
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:64
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:111
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, HANDLE h)
Definition: ddraw_stubs.c:97
DWORD CALLBACK HelDdSurfDestroySurface(LPDDHAL_DESTROYSURFACEDATA lpDestroySurfaceData)
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, LPDWORD lpCodes)
Definition: ddraw_main.c:418
LONG HRESULT
Definition: typedefs.h:78
#define WINAPI
Definition: msvc.h:6
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
Definition: GetCaps.c:23
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DirectDraw_Compact(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:267
HRESULT WINAPI Main_DirectDraw_StartModeTest(LPDDRAWI_DIRECTDRAW_INT This, LPSIZE pModes, DWORD dwNumModes, DWORD dwFlags)
Definition: ddraw_stubs.c:124
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_stubs.c:17
DWORD CALLBACK HelDdSurfSetOverlayPosition(LPDDHAL_SETOVERLAYPOSITIONDATA lpSetOverlayPositionData)
DWORD dwRefreshRate
Definition: ddraw.h:1135
HDC hdc
Definition: main.c:9
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:478
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces7(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK7 callback)
Definition: ddraw_stubs.c:52
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:145
GLenum src
Definition: glext.h:6340
DWORD CALLBACK HelDdSurfAddAttachedSurface(LPDDHAL_ADDATTACHEDSURFACEDATA lpDestroySurface)
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
Definition: ddraw_stubs.c:26
HRESULT WINAPI Main_DirectDraw_CreateSurface4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:516
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDDRAWI_DIRECTDRAW_INT This)
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
BOOL * LPBOOL
Definition: windef.h:162
DWORD CALLBACK HelDdSurfBlt(LPDDHAL_BLTDATA lpBltData)
GLenum GLenum dst
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes4(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK2 pCallback)
uint32_t * LPDWORD
Definition: typedefs.h:58
unsigned int ULONG
Definition: retypes.h:1
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This, HWND hwnd, DWORD cooplevel)
HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier7(LPDDRAWI_DIRECTDRAW_INT This, LPDDDEVICEIDENTIFIER2 pDDDI, DWORD dwFlags)
ULONG WINAPI Main_DirectDraw_Release(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:194
DWORD CALLBACK HelDdSurfSetPalette(LPDDHAL_SETPALETTEDATA lpSetPaletteData)
static const WCHAR dwWidth[]
Definition: provider.c:62
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
Definition: ddraw_stubs.c:80
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDDRAWI_DIRECTDRAW_INT This, REFIID id, LPVOID *obj)
Definition: ddraw_main.c:37