ReactOS  0.4.15-dev-1384-g878186b
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,
36  DWORD dwFlags,
37  LPDIRECTDRAWCLIPPER *ppClipper,
38  IUnknown *pUnkOuter);
39 
42  LPDIRECTDRAW iface,
43  DWORD dwFlags,
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,
64  DWORD dwFlags,
65  LPDDSURFACEDESC pDDSD,
66  LPVOID pContext,
68 
71  LPDIRECTDRAW iface,
72  DWORD dwFlags,
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,
135  DWORD dwWidth,
136  DWORD dwHeight,
137  DWORD dwBPP);
138 
141  LPDIRECTDRAW iface,
142  DWORD dwFlags,
143  HANDLE h);
144 
145 IDirectDrawVtbl DirectDraw_Vtable =
146 {
170 };
171 
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
#define REFIID
Definition: guiddef.h:118
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW iface)
Definition: http.c:7094
HRESULT WINAPI Main_DirectDraw_Initialize(LPDIRECTDRAW iface, LPGUID lpGUID)
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDIRECTDRAW iface, REFIID id, LPVOID *obj)
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDIRECTDRAW iface, LPDWORD lpFreq)
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDIRECTDRAW iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
ULONG WINAPI Main_DirectDraw_AddRef(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDIRECTDRAW iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
static LPUNKNOWN
Definition: ndr_ole.c:49
struct IDirectDraw * LPDIRECTDRAW
Definition: ddraw.h:710
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
static const WCHAR dwHeight[]
Definition: provider.c:63
HRESULT(WINAPI * LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1258
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW iface)
LONG HRESULT
Definition: typedefs.h:79
#define WINAPI
Definition: msvc.h:6
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW iface, HWND hwnd, DWORD cooplevel)
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW iface)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
IDirectDrawVtbl DirectDraw_Vtable
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
BOOL * LPBOOL
Definition: windef.h:162
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW iface)
GLenum GLenum dst
Definition: glext.h:6340
FxPnpStateCallbackInfo * pCallback
uint32_t * LPDWORD
Definition: typedefs.h:59
unsigned int ULONG
Definition: retypes.h:1
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDIRECTDRAW iface, LPDWORD lpdwScanLine)
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW iface, DWORD dwFlags, HANDLE h)
static const WCHAR dwWidth[]
Definition: provider.c:62
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720