ReactOS 0.4.15-dev-8219-ge8b88cf
DirectDrawSurface_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
55
56
57IDirectDrawSurfaceVtbl DirectDrawSurface_Vtable =
58{
60 Main_DDrawSurface_AddRef, /* (Compact done) */
95};
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDIRECTDRAWSURFACE, LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_GetSurfaceDesc(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC)
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDIRECTDRAWSURFACE, LPDDSCAPS, LPDIRECTDRAWSURFACE *)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDIRECTDRAWSURFACE, DWORD, LPDIRECTDRAWSURFACE)
ULONG WINAPI Main_DDrawSurface_AddRef(LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDIRECTDRAWSURFACE, DWORD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDIRECTDRAWSURFACE, DWORD, LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_Blt(LPDIRECTDRAWSURFACE, LPRECT, LPDIRECTDRAWSURFACE, LPRECT, DWORD, LPDDBLTFX)
IDirectDrawSurfaceVtbl DirectDrawSurface_Vtable
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDIRECTDRAWSURFACE, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_Lock(LPDIRECTDRAWSURFACE, LPRECT, LPDDSURFACEDESC, DWORD, HANDLE)
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDIRECTDRAWSURFACE, LPDIRECTDRAWPALETTE)
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDIRECTDRAWSURFACE, HDC)
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDIRECTDRAWSURFACE, DWORD, DWORD, LPDIRECTDRAWSURFACE, LPRECT, DWORD)
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE, REFIID, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDIRECTDRAWSURFACE, LPRECT)
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDIRECTDRAWSURFACE, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDIRECTDRAWSURFACE, LPDIRECTDRAWPALETTE *)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDIRECTDRAWSURFACE, LPRECT, LPDIRECTDRAWSURFACE, LPRECT, DWORD, LPDDOVERLAYFX)
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDIRECTDRAWSURFACE, LPDIRECTDRAW, LPDDSURFACEDESC)
ULONG WINAPI Main_DDrawSurface_Release(LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDIRECTDRAWSURFACE, HDC *)
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDIRECTDRAWSURFACE, LPLONG, LPLONG)
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDIRECTDRAWSURFACE, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDIRECTDRAWSURFACE, LPDDPIXELFORMAT)
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDIRECTDRAWSURFACE, LONG, LONG)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDIRECTDRAWSURFACE, LPDDBLTBATCH, DWORD, DWORD)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDIRECTDRAWSURFACE, LPDIRECTDRAWSURFACE, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetCaps(LPDIRECTDRAWSURFACE, LPDDSCAPS pCaps)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_Unlock(LPDIRECTDRAWSURFACE, LPVOID)
HRESULT WINAPI Main_DDrawSurface_Restore(LPDIRECTDRAWSURFACE)
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDIRECTDRAWSURFACE, LPDIRECTDRAWCLIPPER)
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDIRECTDRAWSURFACE, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDIRECTDRAWSURFACE, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDIRECTDRAWSURFACE, LPDIRECTDRAWCLIPPER *)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDIRECTDRAWSURFACE, DWORD)
unsigned long DWORD
Definition: ntddk_ex.h:95
static HDC
Definition: imagelist.c:92
long LONG
Definition: pedump.c:60
#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
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
int32_t * LPLONG
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WINAPI
Definition: msvc.h:6