ReactOS 0.4.15-dev-8227-g32d615f
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
22 LPDIRECTDRAWCLIPPER *ppClipper,
23 IUnknown *pUnkOuter);
24
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
57 LPDDSURFACEDESC pDDSD,
58 LPVOID pContext,
60
65 LPDDSURFACEDESC2 pDDSD,
66 LPVOID pContext,
68
73 LPDDSURFACEDESC lpDDSD2,
76
81 LPDDSURFACEDESC2 lpDDSD2,
84
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
158 DWORD dwBPP);
159
165 DWORD dwBPP,
167 DWORD dwFlags);
168
173 HANDLE h);
174
175
179 LPDDSCAPS2 ddscaps,
180 LPDWORD dwTotal,
181 LPDWORD dwFree);
182
186 HDC hdc,
187 LPDIRECTDRAWSURFACE7 *lpDDS);
188
191
194
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_GetDisplayMode4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 pDDSD)
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
Definition: ddraw_stubs.c:72
HRESULT WINAPI Main_DirectDraw_Initialize(LPDDRAWI_DIRECTDRAW_INT This, LPGUID lpGUID)
Definition: ddraw_main.c:247
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
Definition: ddraw_stubs.c:87
DWORD CALLBACK HelDdSurfSetClipList(LPDDHAL_SETCLIPLISTDATA lpSetClipListData)
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This, HWND hwnd, DWORD cooplevel)
DWORD CALLBACK HelDdSurfGetFlipStatus(LPDDHAL_GETFLIPSTATUSDATA lpGetFlipStatusData)
HRESULT WINAPI Main_DirectDraw_StartModeTest(LPDDRAWI_DIRECTDRAW_INT This, LPSIZE pModes, DWORD dwNumModes, DWORD dwFlags)
Definition: ddraw_stubs.c:124
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDDRAWI_DIRECTDRAW_INT This)
HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC(LPDDRAWI_DIRECTDRAW_INT This, HDC hdc, LPDIRECTDRAWSURFACE7 *lpDDS)
Definition: ddraw_stubs.c:104
DWORD CALLBACK HelDdSurfDestroySurface(LPDDHAL_DESTROYSURFACEDATA lpDestroySurfaceData)
ULONG WINAPI Main_DirectDraw_Release(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:194
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
Definition: ddraw_stubs.c:26
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData)
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:64
HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:111
DWORD CALLBACK HelDdSurfreserved4(DWORD *lpPtr)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes4(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK2 pCallback)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces4(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK2 callback)
Definition: ddraw_stubs.c:43
HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:117
DWORD CALLBACK HelDdSurfSetColorKey(LPDDHAL_SETCOLORKEYDATA lpSetColorKeyData)
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_SetDisplayMode2(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:478
HRESULT WINAPI Main_DirectDraw_EvaluateMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD a, DWORD *b)
Definition: ddraw_stubs.c:131
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
Definition: ddraw_main.c:545
DWORD CALLBACK HelDdSurfFlip(LPDDHAL_FLIPDATA lpFlipData)
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:145
DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData)
DWORD CALLBACK HelDdSurfSetOverlayPosition(LPDDHAL_SETOVERLAYPOSITIONDATA lpSetOverlayPositionData)
HRESULT WINAPI Main_DirectDraw_Compact(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:267
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
Definition: ddraw_stubs.c:34
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, HANDLE h)
Definition: ddraw_stubs.c:97
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, LPDWORD lpCodes)
Definition: ddraw_main.c:418
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDDRAWI_DIRECTDRAW_INT This, REFIID id, LPVOID *obj)
Definition: ddraw_main.c:37
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
Definition: ddraw_stubs.c:80
HRESULT WINAPI Main_DirectDraw_EnumSurfaces7(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK7 callback)
Definition: ddraw_stubs.c:52
DWORD CALLBACK HelDdSurfGetBltStatus(LPDDHAL_GETBLTSTATUSDATA lpGetBltStatusData)
DWORD CALLBACK HelDdSurfLock(LPDDHAL_LOCKDATA lpLockData)
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_stubs.c:17
DWORD CALLBACK HelDdSurfBlt(LPDDHAL_BLTDATA lpBltData)
HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier7(LPDDRAWI_DIRECTDRAW_INT This, LPDDDEVICEIDENTIFIER2 pDDDI, DWORD dwFlags)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD)
DWORD CALLBACK HelDdSurfSetPalette(LPDDHAL_SETPALETTEDATA lpSetPaletteData)
DWORD CALLBACK HelDdSurfAddAttachedSurface(LPDDHAL_ADDATTACHEDSURFACEDATA lpDestroySurface)
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpFreq)
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
Definition: GetCaps.c:23
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSCAPS2 ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
Definition: ddraw_main.c:318
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
static const WCHAR dwWidth[]
Definition: provider.c:62
static const WCHAR dwHeight[]
Definition: provider.c:63
static const WCHAR dwRefreshRate[]
Definition: provider.c:73
#define CALLBACK
Definition: compat.h:35
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7
unsigned long DWORD
Definition: ntddk_ex.h:95
FxPnpStateCallbackInfo * pCallback
GLenum src
Definition: glext.h:6340
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLenum GLenum dst
Definition: glext.h:6340
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:92
static IPrintDialogCallback callback
Definition: printdlg.c:326
static LPUNKNOWN
Definition: ndr_ole.c:49
#define REFIID
Definition: guiddef.h:118
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1259
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1261
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:7252
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
BOOL * LPBOOL
Definition: windef.h:162
#define WINAPI
Definition: msvc.h:6