ReactOS  0.4.15-dev-1384-g878186b
DirectDraw2_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  LPDIRECTDRAW2 iface,
21  REFIID id,
22  LPVOID *obj);
23 
26 
29 
32 
35  LPDIRECTDRAW2 iface,
36  DWORD dwFlags,
37  LPDIRECTDRAWCLIPPER *ppClipper,
38  IUnknown *pUnkOuter);
39 
42  LPDIRECTDRAW2 iface,
43  DWORD dwFlags,
44  LPPALETTEENTRY palent,
45  LPDIRECTDRAWPALETTE* ppPalette,
46  LPUNKNOWN pUnkOuter);
47 
50  LPDIRECTDRAW2 iface,
51  LPDDSURFACEDESC pDDSD,
52  LPDIRECTDRAWSURFACE *ppSurf,
53  IUnknown *pUnkOuter);
54 
57  LPDIRECTDRAW2 iface,
60 
63  LPDIRECTDRAW2 iface,
64  DWORD dwFlags,
65  LPDDSURFACEDESC pDDSD,
66  LPVOID pContext,
68 
71  LPDIRECTDRAW2 iface,
72  DWORD dwFlags,
73  LPDDSURFACEDESC lpDDSD,
76 
79 
82  LPDIRECTDRAW2 iface,
83  LPDDCAPS pDriverCaps,
84  LPDDCAPS pHELCaps);
85 
88  LPDIRECTDRAW2 iface,
89  LPDDSURFACEDESC pDDSD);
90 
93  LPDIRECTDRAW2 iface,
94  LPDWORD lpNumCodes,
95  LPDWORD lpCodes);
96 
99  LPDIRECTDRAW2 iface,
100  LPDIRECTDRAWSURFACE *lplpGDIDDSSurface);
101 
104  LPDIRECTDRAW2 iface,
105  LPDWORD lpFreq);
106 
107 
110  LPDWORD lpdwScanLine);
111 
114  LPDIRECTDRAW2 iface,
115  LPBOOL lpbIsInVB);
116 
119  LPDIRECTDRAW2 iface,
120  LPGUID lpGUID);
121 
122 
125 
128  LPDIRECTDRAW2 iface,
129  HWND hwnd,
130  DWORD cooplevel);
131 
134  LPDIRECTDRAW2 iface,
135  DWORD dwWidth,
136  DWORD dwHeight,
137  DWORD dwBPP,
139  DWORD dwFlags);
140 
143  LPDIRECTDRAW2 iface,
144  DWORD dwFlags,
145  HANDLE h);
146 
147 
150  LPDIRECTDRAW2 iface,
151  LPDDSCAPS ddscaps,
152  LPDWORD dwTotal,
153  LPDWORD dwFree);
154 
155 
156 IDirectDraw2Vtbl DirectDraw2_Vtable =
157 {
182 };
183 
184 
185 
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW2 iface)
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW2 iface, LPBOOL lpbIsInVB)
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
#define REFIID
Definition: guiddef.h:118
struct IDirectDraw2 * LPDIRECTDRAW2
Definition: ddraw.h:711
ULONG WINAPI Main_DirectDraw_AddRef(LPDIRECTDRAW2 iface)
Definition: http.c:7094
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_Initialize(LPDIRECTDRAW2 iface, LPGUID lpGUID)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDIRECTDRAW2 iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
static LPUNKNOWN
Definition: ndr_ole.c:49
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW2 iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW2 iface)
static const WCHAR dwHeight[]
Definition: provider.c:63
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem(LPDIRECTDRAW2 iface, LPDDSCAPS ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
LONG HRESULT
Definition: typedefs.h:79
HRESULT WINAPI Main_DirectDraw_SetDisplayMode2(LPDIRECTDRAW2 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW2 iface, HWND hwnd, DWORD cooplevel)
#define WINAPI
Definition: msvc.h:6
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
DWORD dwRefreshRate
Definition: ddraw.h:1135
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
IDirectDraw2Vtbl DirectDraw2_Vtable
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW2 iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDIRECTDRAW2 iface, LPDWORD lpdwScanLine)
BOOL * LPBOOL
Definition: windef.h:162
GLenum GLenum dst
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDIRECTDRAW2 iface, REFIID id, LPVOID *obj)
FxPnpStateCallbackInfo * pCallback
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
uint32_t * LPDWORD
Definition: typedefs.h:59
unsigned int ULONG
Definition: retypes.h:1
static const WCHAR dwWidth[]
Definition: provider.c:62
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW2 iface, DWORD dwFlags, HANDLE h)
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDIRECTDRAW2 iface, LPDWORD lpFreq)