ReactOS 0.4.15-dev-7934-g1dc8d80
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,
37 LPDIRECTDRAWCLIPPER *ppClipper,
38 IUnknown *pUnkOuter);
39
42 LPDIRECTDRAW2 iface,
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,
65 LPDDSURFACEDESC pDDSD,
66 LPVOID pContext,
68
71 LPDIRECTDRAW2 iface,
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,
137 DWORD dwBPP,
139 DWORD dwFlags);
140
143 LPDIRECTDRAW2 iface,
145 HANDLE h);
146
147
150 LPDIRECTDRAW2 iface,
151 LPDDSCAPS ddscaps,
152 LPDWORD dwTotal,
153 LPDWORD dwFree);
154
155
156IDirectDraw2Vtbl DirectDraw2_Vtable =
157{
182};
183
184
185
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW2 iface, HWND hwnd, DWORD cooplevel)
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDIRECTDRAW2 iface, LPDWORD lpFreq)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
IDirectDraw2Vtbl DirectDraw2_Vtable
ULONG WINAPI Main_DirectDraw_AddRef(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDIRECTDRAW2 iface, REFIID id, LPVOID *obj)
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW2 iface, LPBOOL lpbIsInVB)
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem(LPDIRECTDRAW2 iface, LPDDSCAPS ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
HRESULT WINAPI Main_DirectDraw_Initialize(LPDIRECTDRAW2 iface, LPGUID lpGUID)
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW2 iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW2 iface, DWORD dwFlags, HANDLE h)
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDIRECTDRAW2 iface, LPDWORD lpdwScanLine)
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW2 iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDIRECTDRAW2 iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_SetDisplayMode2(LPDIRECTDRAW2 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW2 iface)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW2 iface)
static const WCHAR dwWidth[]
Definition: provider.c:62
static const WCHAR dwHeight[]
Definition: provider.c:63
static const WCHAR dwRefreshRate[]
Definition: provider.c:73
unsigned long DWORD
Definition: ntddk_ex.h:95
FxPnpStateCallbackInfo * pCallback
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
static IPrintDialogCallback callback
Definition: printdlg.c:326
static LPUNKNOWN
Definition: ndr_ole.c:49
#define REFIID
Definition: guiddef.h:118
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
struct IDirectDraw2 * LPDIRECTDRAW2
Definition: ddraw.h:711
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