ReactOS  0.4.15-dev-1384-g878186b
DirectDraw4_Vtable.c
Go to the documentation of this file.
1 #include <windows.h>
2 #include <stdio.h>
3 #include <ddraw.h>
4 #include <ddrawi.h>
5 #include <d3dhal.h>
6 #include <ddrawgdi.h>
7 
8 #if defined(_WIN32) && !defined(_NO_COM )
9 #define COM_NO_WINDOWS_H
10 #include <objbase.h>
11 #else
12 #define IUnknown void
13 #if !defined(NT_BUILD_ENVIRONMENT) && !defined(WINNT)
14  #define CO_E_NOTINITIALIZED 0x800401F0
15 #endif
16 #endif
17 
20  LPDIRECTDRAW4 iface,
21  REFIID id,
22  LPVOID *obj);
23 
26 
29 
32 
35  LPDIRECTDRAW4 iface,
36  DWORD dwFlags,
37  LPDIRECTDRAWCLIPPER *ppClipper,
38  IUnknown *pUnkOuter);
39 
42  LPDIRECTDRAW4 iface,
43  DWORD dwFlags,
44  LPPALETTEENTRY palent,
45  LPDIRECTDRAWPALETTE* ppPalette,
46  LPUNKNOWN pUnkOuter);
47 
50  LPDIRECTDRAW4 iface,
51  LPDDSURFACEDESC2 pDDSD,
52  LPDIRECTDRAWSURFACE4 *ppSurf,
53  IUnknown *pUnkOuter);
54 
57  LPDIRECTDRAW4 iface,
60 
63  LPDIRECTDRAW4 iface,
64  DWORD dwFlags,
65  LPDDSURFACEDESC2 pDDSD,
66  LPVOID pContext,
68 
71  LPDIRECTDRAW4 iface,
72  DWORD dwFlags,
73  LPDDSURFACEDESC2 lpDDSD2,
76 
79 
82  LPDIRECTDRAW4 iface,
83  LPDDCAPS pDriverCaps,
84  LPDDCAPS pHELCaps);
85 
88  LPDIRECTDRAW4 iface,
89  LPDDSURFACEDESC2 pDDSD);
90 
93  LPDIRECTDRAW4 iface,
94  LPDWORD lpNumCodes,
95  LPDWORD lpCodes);
96 
99  LPDIRECTDRAW4 iface,
100  LPDIRECTDRAWSURFACE4 *lplpGDIDDSSurface);
101 
104  LPDIRECTDRAW4 iface,
105  LPDWORD lpFreq);
106 
107 
110  LPDWORD lpdwScanLine);
111 
114  LPDIRECTDRAW4 iface,
115  LPBOOL lpbIsInVB);
116 
119  LPDIRECTDRAW4 iface,
120  LPGUID lpGUID);
121 
122 
125 
128  LPDIRECTDRAW4 iface,
129  HWND hwnd,
130  DWORD cooplevel);
131 
134  LPDIRECTDRAW4 iface,
135  DWORD dwWidth,
136  DWORD dwHeight,
137  DWORD dwBPP,
139  DWORD dwFlags);
140 
143  LPDIRECTDRAW4 iface,
144  DWORD dwFlags,
145  HANDLE h);
146 
147 
150  LPDIRECTDRAW4 iface,
151  LPDDSCAPS2 ddscaps,
152  LPDWORD dwTotal,
153  LPDWORD dwFree);
154 
157  LPDIRECTDRAW4 iface,
158  HDC hdc,
159  LPDIRECTDRAWSURFACE4 *lpDDS);
160 
163 
166 
169  LPDIRECTDRAW4 iface,
170  LPDDDEVICEIDENTIFIER pDDDI,
171  DWORD dwFlags);
172 
173 
174 
175 IDirectDraw4Vtbl DirectDraw4_Vtable =
176 {
205 };
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define REFIID
Definition: guiddef.h:118
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1261
HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC(LPDIRECTDRAW4 iface, HDC hdc, LPDIRECTDRAWSURFACE4 *lpDDS)
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1259
ULONG WINAPI Main_DirectDraw_AddRef(LPDIRECTDRAW4 iface)
Definition: http.c:7094
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDIRECTDRAW4 iface, REFIID id, LPVOID *obj)
static HDC
Definition: imagelist.c:92
HRESULT WINAPI Main_DirectDraw_EnumSurfaces4(LPDIRECTDRAW4 iface, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK2 callback)
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW4 iface)
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem4(LPDIRECTDRAW4 iface, LPDDSCAPS2 ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
HRESULT WINAPI Main_DirectDraw_GetDisplayMode4(LPDIRECTDRAW4 iface, LPDDSURFACEDESC2 pDDSD)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDIRECTDRAW4 iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces(LPDIRECTDRAW4 iface)
static LPUNKNOWN
Definition: ndr_ole.c:49
HRESULT WINAPI Main_DirectDraw_Initialize(LPDIRECTDRAW4 iface, LPGUID lpGUID)
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDIRECTDRAW4 iface, LPDWORD lpdwScanLine)
struct IDirectDraw4 * LPDIRECTDRAW4
Definition: ddraw.h:713
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW4 iface)
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDIRECTDRAW4 iface, LPDIRECTDRAWSURFACE4 *lplpGDIDDSSurface)
static const WCHAR dwHeight[]
Definition: provider.c:63
HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier(LPDIRECTDRAW4 iface, LPDDDEVICEIDENTIFIER pDDDI, DWORD dwFlags)
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDIRECTDRAW4 iface, LPDWORD lpFreq)
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
HRESULT WINAPI Main_DirectDraw_CreateSurface4(LPDIRECTDRAW4 iface, LPDDSURFACEDESC2 pDDSD, LPDIRECTDRAWSURFACE4 *ppSurf, IUnknown *pUnkOuter)
LONG HRESULT
Definition: typedefs.h:79
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW4 iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDIRECTDRAW4 iface, LPDIRECTDRAWSURFACE4 src, LPDIRECTDRAWSURFACE4 *dst)
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW4 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
DWORD dwRefreshRate
Definition: ddraw.h:1135
IDirectDraw4Vtbl DirectDraw4_Vtable
HDC hdc
Definition: main.c:9
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW4 iface, LPBOOL lpbIsInVB)
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel(LPDIRECTDRAW4 iface)
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW4 iface, DWORD dwFlags, HANDLE h)
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW4 iface)
BOOL * LPBOOL
Definition: windef.h:162
GLenum GLenum dst
Definition: glext.h:6340
FxPnpStateCallbackInfo * pCallback
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW4 iface)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes4(LPDIRECTDRAW4 iface, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK2 pCallback)
uint32_t * LPDWORD
Definition: typedefs.h:59
unsigned int ULONG
Definition: retypes.h:1
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW4 iface, HWND hwnd, DWORD cooplevel)
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW4 iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
static const WCHAR dwWidth[]
Definition: provider.c:62
HRESULT WINAPI Main_DirectDraw_SetDisplayMode2(LPDIRECTDRAW4 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
struct IDirectDrawSurface4 * LPDIRECTDRAWSURFACE4
Definition: ddraw.h:718