ReactOS 0.4.15-dev-8339-g4028de8
DirectDraw_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 LPDIRECTDRAW iface,
21 REFIID id,
22 LPVOID *obj);
23
26
29
32
35 LPDIRECTDRAW iface,
37 LPDIRECTDRAWCLIPPER *ppClipper,
38 IUnknown *pUnkOuter);
39
42 LPDIRECTDRAW iface,
44 LPPALETTEENTRY palent,
45 LPDIRECTDRAWPALETTE* ppPalette,
46 LPUNKNOWN pUnkOuter);
47
50 LPDIRECTDRAW iface,
51 LPDDSURFACEDESC pDDSD,
52 LPDIRECTDRAWSURFACE *ppSurf,
53 IUnknown *pUnkOuter);
54
57 LPDIRECTDRAW iface,
60
63 LPDIRECTDRAW iface,
65 LPDDSURFACEDESC pDDSD,
66 LPVOID pContext,
68
71 LPDIRECTDRAW iface,
73 LPDDSURFACEDESC lpDDSD2,
76
79
82 LPDIRECTDRAW iface,
83 LPDDCAPS pDriverCaps,
84 LPDDCAPS pHELCaps);
85
88 LPDIRECTDRAW iface,
89 LPDDSURFACEDESC pDDSD);
90
93 LPDIRECTDRAW iface,
94 LPDWORD lpNumCodes,
95 LPDWORD lpCodes);
96
99 LPDIRECTDRAW iface,
100 LPDIRECTDRAWSURFACE *lplpGDIDDSSurface);
101
104 LPDIRECTDRAW iface,
105 LPDWORD lpFreq);
106
107
110 LPDWORD lpdwScanLine);
111
114 LPDIRECTDRAW iface,
115 LPBOOL lpbIsInVB);
116
119 LPDIRECTDRAW iface,
120 LPGUID lpGUID);
121
122
125
128 LPDIRECTDRAW iface,
129 HWND hwnd,
130 DWORD cooplevel);
131
134 LPDIRECTDRAW iface,
137 DWORD dwBPP);
138
141 LPDIRECTDRAW iface,
143 HANDLE h);
144
145IDirectDrawVtbl DirectDraw_Vtable =
146{
170};
171
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW iface, HWND hwnd, DWORD cooplevel)
ULONG WINAPI Main_DirectDraw_AddRef(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDIRECTDRAW iface, REFIID id, LPVOID *obj)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_Initialize(LPDIRECTDRAW iface, LPGUID lpGUID)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDIRECTDRAW iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDIRECTDRAW iface, LPDWORD lpdwScanLine)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDIRECTDRAW iface, LPDWORD lpFreq)
IDirectDrawVtbl DirectDraw_Vtable
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW iface, DWORD dwFlags, HANDLE h)
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
static const WCHAR dwWidth[]
Definition: provider.c:62
static const WCHAR dwHeight[]
Definition: provider.c:63
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
struct IDirectDraw * LPDIRECTDRAW
Definition: ddraw.h:710
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
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