ReactOS 0.4.16-dev-197-g92996da
DirectDrawSurface2_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
60
61
62IDirectDrawSurface2Vtbl DirectDrawSurface2_Vtable =
63{
65 Main_DDrawSurface_AddRef, /* (Compact done) */
103};
HRESULT WINAPI Main_DDrawSurface_GetSurfaceDesc(LPDIRECTDRAWSURFACE2, LPDDSURFACEDESC)
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDIRECTDRAWSURFACE2, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWCLIPPER *)
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Unlock(LPDIRECTDRAWSURFACE2, LPVOID)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDIRECTDRAWSURFACE2, LPRECT, LPDIRECTDRAWSURFACE2, LPRECT, DWORD, LPDDOVERLAYFX)
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDIRECTDRAWSURFACE2, LPDIRECTDRAW, LPDDSURFACEDESC)
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDIRECTDRAWSURFACE2, HDC *)
HRESULT WINAPI Main_DDrawSurface_Lock(LPDIRECTDRAWSURFACE2, LPRECT, LPDDSURFACEDESC, DWORD, HANDLE)
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDIRECTDRAWSURFACE2, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDIRECTDRAWSURFACE2, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWPALETTE *)
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDIRECTDRAWSURFACE2, LPLONG, LPLONG)
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDIRECTDRAWSURFACE2, LPRECT)
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDIRECTDRAWSURFACE2, DDSURFACEDESC2, DWORD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDIRECTDRAWSURFACE2, DWORD, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDIRECTDRAWSURFACE2, LPDDBLTBATCH, DWORD, DWORD)
ULONG WINAPI Main_DDrawSurface_Release(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDIRECTDRAWSURFACE2, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWSURFACE2, DWORD)
ULONG WINAPI Main_DDrawSurface_AddRef(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDIRECTDRAWSURFACE2, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDIRECTDRAWSURFACE2, LONG, LONG)
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDIRECTDRAWSURFACE2, LPDDPIXELFORMAT)
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWCLIPPER)
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDIRECTDRAWSURFACE2, DWORD, DWORD, LPDIRECTDRAWSURFACE2, LPRECT, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetCaps(LPDIRECTDRAWSURFACE2, LPDDSCAPS pCaps)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Restore(LPDIRECTDRAWSURFACE2)
IDirectDrawSurface2Vtbl DirectDrawSurface2_Vtable
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE2, REFIID, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDIRECTDRAWSURFACE2, DWORD, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDIRECTDRAWSURFACE2, LPDDSCAPS, LPDIRECTDRAWSURFACE2 *)
HRESULT WINAPI Main_DDrawSurface_Blt(LPDIRECTDRAWSURFACE2, LPRECT, LPDIRECTDRAWSURFACE2, LPRECT, DWORD, LPDDBLTFX)
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWPALETTE)
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDIRECTDRAWSURFACE2, HDC)
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDIRECTDRAWSURFACE2, DWORD dwFlags)
unsigned long DWORD
Definition: ntddk_ex.h:95
static HDC
Definition: imagelist.c:88
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 IDirectDrawSurface2 * LPDIRECTDRAWSURFACE2
Definition: ddraw.h:716
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