ReactOS  0.4.14-dev-854-gb9426a3
DirectDraw7_Vtable.c File Reference
#include <windows.h>
#include <stdio.h>
#include <ddraw.h>
#include <ddrawi.h>
#include <d3dhal.h>
#include <ddrawgdi.h>
Include dependency graph for DirectDraw7_Vtable.c:

Go to the source code of this file.

Macros

#define IUnknown   void
 
#define CO_E_NOTINITIALIZED   0x800401F0
 

Functions

HRESULT WINAPI Main_DirectDraw_QueryInterface (LPDIRECTDRAW7 iface, REFIID id, LPVOID *obj)
 
ULONG WINAPI Main_DirectDraw_AddRef (LPDIRECTDRAW7 iface)
 
ULONG WINAPI Main_DirectDraw_Release (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_Compact (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_CreateClipper (LPDIRECTDRAW7 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_CreatePalette (LPDIRECTDRAW7 iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_CreateSurface4 (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD, LPDIRECTDRAWSURFACE7 *ppSurf, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_DuplicateSurface (LPDIRECTDRAW7 iface, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
 
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes4 (LPDIRECTDRAW7 iface, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK2 pCallback)
 
HRESULT WINAPI Main_DirectDraw_EnumSurfaces7 (LPDIRECTDRAW7 iface, DWORD dwFlags, LPDDSURFACEDESC2 lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK7 callback)
 
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_GetCaps (LPDIRECTDRAW7 iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
 
HRESULT WINAPI Main_DirectDraw_GetDisplayMode4 (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD)
 
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes (LPDIRECTDRAW7 iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
 
HRESULT WINAPI Main_DirectDraw_GetGDISurface (LPDIRECTDRAW7 iface, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
 
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency (LPDIRECTDRAW7 iface, LPDWORD lpFreq)
 
HRESULT WINAPI Main_DirectDraw_GetScanLine (LPDIRECTDRAW7 iface, LPDWORD lpdwScanLine)
 
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus (LPDIRECTDRAW7 iface, LPBOOL lpbIsInVB)
 
HRESULT WINAPI Main_DirectDraw_Initialize (LPDIRECTDRAW7 iface, LPGUID lpGUID)
 
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hwnd, DWORD cooplevel)
 
HRESULT WINAPI Main_DirectDraw_SetDisplayMode2 (LPDIRECTDRAW7 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags)
 
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank (LPDIRECTDRAW7 iface, DWORD dwFlags, HANDLE h)
 
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem4 (LPDIRECTDRAW7 iface, LPDDSCAPS2 ddscaps, LPDWORD dwTotal, LPDWORD dwFree)
 
HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC (LPDIRECTDRAW7 iface, HDC hdc, LPDIRECTDRAWSURFACE7 *lpDDS)
 
HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel (LPDIRECTDRAW7 iface)
 
HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier7 (LPDIRECTDRAW7 iface, LPDDDEVICEIDENTIFIER2 pDDDI, DWORD dwFlags)
 
HRESULT WINAPI Main_DirectDraw_StartModeTest (LPDIRECTDRAW7 iface, LPSIZE pModes, DWORD dwNumModes, DWORD dwFlags)
 
HRESULT WINAPI Main_DirectDraw_EvaluateMode (LPDIRECTDRAW7 iface, DWORD a, DWORD *b)
 

Variables

IDirectDraw7Vtbl DirectDraw7_Vtable
 

Macro Definition Documentation

◆ CO_E_NOTINITIALIZED

#define CO_E_NOTINITIALIZED   0x800401F0

Definition at line 15 of file DirectDraw7_Vtable.c.

◆ IUnknown

Definition at line 13 of file DirectDraw7_Vtable.c.

Function Documentation

◆ Main_DirectDraw_AddRef()

ULONG WINAPI Main_DirectDraw_AddRef ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_Compact()

HRESULT WINAPI Main_DirectDraw_Compact ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_CreateClipper()

HRESULT WINAPI Main_DirectDraw_CreateClipper ( LPDIRECTDRAW7  iface,
DWORD  dwFlags,
LPDIRECTDRAWCLIPPER ppClipper,
IUnknown pUnkOuter 
)

◆ Main_DirectDraw_CreatePalette()

HRESULT WINAPI Main_DirectDraw_CreatePalette ( LPDIRECTDRAW7  iface,
DWORD  dwFlags,
LPPALETTEENTRY  palent,
LPDIRECTDRAWPALETTE ppPalette,
LPUNKNOWN  pUnkOuter 
)

◆ Main_DirectDraw_CreateSurface4()

HRESULT WINAPI Main_DirectDraw_CreateSurface4 ( LPDIRECTDRAW7  iface,
LPDDSURFACEDESC2  pDDSD,
LPDIRECTDRAWSURFACE7 ppSurf,
IUnknown pUnkOuter 
)

◆ Main_DirectDraw_DuplicateSurface()

HRESULT WINAPI Main_DirectDraw_DuplicateSurface ( LPDIRECTDRAW7  iface,
LPDIRECTDRAWSURFACE7  src,
LPDIRECTDRAWSURFACE7 dst 
)

◆ Main_DirectDraw_EnumDisplayModes4()

HRESULT WINAPI Main_DirectDraw_EnumDisplayModes4 ( LPDIRECTDRAW7  iface,
DWORD  dwFlags,
LPDDSURFACEDESC2  pDDSD,
LPVOID  pContext,
LPDDENUMMODESCALLBACK2  pCallback 
)

◆ Main_DirectDraw_EnumSurfaces7()

HRESULT WINAPI Main_DirectDraw_EnumSurfaces7 ( LPDIRECTDRAW7  iface,
DWORD  dwFlags,
LPDDSURFACEDESC2  lpDDSD2,
LPVOID  context,
LPDDENUMSURFACESCALLBACK7  callback 
)

◆ Main_DirectDraw_EvaluateMode()

HRESULT WINAPI Main_DirectDraw_EvaluateMode ( LPDIRECTDRAW7  iface,
DWORD  a,
DWORD b 
)

◆ Main_DirectDraw_FlipToGDISurface()

HRESULT WINAPI Main_DirectDraw_FlipToGDISurface ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_GetAvailableVidMem4()

HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem4 ( LPDIRECTDRAW7  iface,
LPDDSCAPS2  ddscaps,
LPDWORD  dwTotal,
LPDWORD  dwFree 
)

◆ Main_DirectDraw_GetCaps()

HRESULT WINAPI Main_DirectDraw_GetCaps ( LPDIRECTDRAW7  iface,
LPDDCAPS  pDriverCaps,
LPDDCAPS  pHELCaps 
)

◆ Main_DirectDraw_GetDeviceIdentifier7()

HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier7 ( LPDIRECTDRAW7  iface,
LPDDDEVICEIDENTIFIER2  pDDDI,
DWORD  dwFlags 
)

◆ Main_DirectDraw_GetDisplayMode4()

HRESULT WINAPI Main_DirectDraw_GetDisplayMode4 ( LPDIRECTDRAW7  iface,
LPDDSURFACEDESC2  pDDSD 
)

◆ Main_DirectDraw_GetFourCCCodes()

HRESULT WINAPI Main_DirectDraw_GetFourCCCodes ( LPDIRECTDRAW7  iface,
LPDWORD  lpNumCodes,
LPDWORD  lpCodes 
)

◆ Main_DirectDraw_GetGDISurface()

HRESULT WINAPI Main_DirectDraw_GetGDISurface ( LPDIRECTDRAW7  iface,
LPDIRECTDRAWSURFACE7 lplpGDIDDSSurface 
)

◆ Main_DirectDraw_GetMonitorFrequency()

HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency ( LPDIRECTDRAW7  iface,
LPDWORD  lpFreq 
)

◆ Main_DirectDraw_GetScanLine()

HRESULT WINAPI Main_DirectDraw_GetScanLine ( LPDIRECTDRAW7  iface,
LPDWORD  lpdwScanLine 
)

◆ Main_DirectDraw_GetSurfaceFromDC()

HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC ( LPDIRECTDRAW7  iface,
HDC  hdc,
LPDIRECTDRAWSURFACE7 lpDDS 
)

◆ Main_DirectDraw_GetVerticalBlankStatus()

HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus ( LPDIRECTDRAW7  iface,
LPBOOL  lpbIsInVB 
)

◆ Main_DirectDraw_Initialize()

HRESULT WINAPI Main_DirectDraw_Initialize ( LPDIRECTDRAW7  iface,
LPGUID  lpGUID 
)

◆ Main_DirectDraw_QueryInterface()

HRESULT WINAPI Main_DirectDraw_QueryInterface ( LPDIRECTDRAW7  iface,
REFIID  id,
LPVOID obj 
)

◆ Main_DirectDraw_Release()

ULONG WINAPI Main_DirectDraw_Release ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_RestoreAllSurfaces()

HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_RestoreDisplayMode()

HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_SetCooperativeLevel()

HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel ( LPDIRECTDRAW7  iface,
HWND  hwnd,
DWORD  cooplevel 
)

◆ Main_DirectDraw_SetDisplayMode2()

HRESULT WINAPI Main_DirectDraw_SetDisplayMode2 ( LPDIRECTDRAW7  iface,
DWORD  dwWidth,
DWORD  dwHeight,
DWORD  dwBPP,
DWORD  dwRefreshRate,
DWORD  dwFlags 
)

◆ Main_DirectDraw_StartModeTest()

HRESULT WINAPI Main_DirectDraw_StartModeTest ( LPDIRECTDRAW7  iface,
LPSIZE  pModes,
DWORD  dwNumModes,
DWORD  dwFlags 
)

◆ Main_DirectDraw_TestCooperativeLevel()

HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel ( LPDIRECTDRAW7  iface)

◆ Main_DirectDraw_WaitForVerticalBlank()

HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank ( LPDIRECTDRAW7  iface,
DWORD  dwFlags,
HANDLE  h 
)

Variable Documentation

◆ DirectDraw7_Vtable