ReactOS  0.4.14-dev-854-gb9426a3
DirectDraw_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 DirectDraw_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 (LPDIRECTDRAW iface, REFIID id, LPVOID *obj)
 
ULONG WINAPI Main_DirectDraw_AddRef (LPDIRECTDRAW iface)
 
ULONG WINAPI Main_DirectDraw_Release (LPDIRECTDRAW iface)
 
HRESULT WINAPI Main_DirectDraw_Compact (LPDIRECTDRAW iface)
 
HRESULT WINAPI Main_DirectDraw_CreateClipper (LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_CreatePalette (LPDIRECTDRAW iface, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
 
HRESULT WINAPI Main_DirectDraw_DuplicateSurface (LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
 
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes (LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
 
HRESULT WINAPI Main_DirectDraw_EnumSurfaces (LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
 
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface (LPDIRECTDRAW iface)
 
HRESULT WINAPI Main_DirectDraw_GetCaps (LPDIRECTDRAW iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
 
HRESULT WINAPI Main_DirectDraw_GetDisplayMode (LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
 
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes (LPDIRECTDRAW iface, LPDWORD lpNumCodes, LPDWORD lpCodes)
 
HRESULT WINAPI Main_DirectDraw_GetGDISurface (LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
 
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency (LPDIRECTDRAW iface, LPDWORD lpFreq)
 
HRESULT WINAPI Main_DirectDraw_GetScanLine (LPDIRECTDRAW iface, LPDWORD lpdwScanLine)
 
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus (LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
 
HRESULT WINAPI Main_DirectDraw_Initialize (LPDIRECTDRAW iface, LPGUID lpGUID)
 
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode (LPDIRECTDRAW iface)
 
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW iface, HWND hwnd, DWORD cooplevel)
 
HRESULT WINAPI Main_DirectDraw_SetDisplayMode (LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
 
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank (LPDIRECTDRAW iface, DWORD dwFlags, HANDLE h)
 

Variables

IDirectDrawVtbl DirectDraw_Vtable
 

Macro Definition Documentation

◆ CO_E_NOTINITIALIZED

#define CO_E_NOTINITIALIZED   0x800401F0

Definition at line 14 of file DirectDraw_Vtable.c.

◆ IUnknown

Definition at line 12 of file DirectDraw_Vtable.c.

Function Documentation

◆ Main_DirectDraw_AddRef()

ULONG WINAPI Main_DirectDraw_AddRef ( LPDIRECTDRAW  iface)

◆ Main_DirectDraw_Compact()

HRESULT WINAPI Main_DirectDraw_Compact ( LPDIRECTDRAW  iface)

◆ Main_DirectDraw_CreateClipper()

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

◆ Main_DirectDraw_CreatePalette()

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

◆ Main_DirectDraw_CreateSurface()

HRESULT WINAPI Main_DirectDraw_CreateSurface ( LPDIRECTDRAW  iface,
LPDDSURFACEDESC  pDDSD,
LPDIRECTDRAWSURFACE ppSurf,
IUnknown pUnkOuter 
)

◆ Main_DirectDraw_DuplicateSurface()

HRESULT WINAPI Main_DirectDraw_DuplicateSurface ( LPDIRECTDRAW  iface,
LPDIRECTDRAWSURFACE  src,
LPDIRECTDRAWSURFACE dst 
)

◆ Main_DirectDraw_EnumDisplayModes()

HRESULT WINAPI Main_DirectDraw_EnumDisplayModes ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  pDDSD,
LPVOID  pContext,
LPDDENUMMODESCALLBACK  pCallback 
)

◆ Main_DirectDraw_EnumSurfaces()

HRESULT WINAPI Main_DirectDraw_EnumSurfaces ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  lpDDSD2,
LPVOID  context,
LPDDENUMSURFACESCALLBACK  callback 
)

◆ Main_DirectDraw_FlipToGDISurface()

HRESULT WINAPI Main_DirectDraw_FlipToGDISurface ( LPDIRECTDRAW  iface)

◆ Main_DirectDraw_GetCaps()

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

◆ Main_DirectDraw_GetDisplayMode()

HRESULT WINAPI Main_DirectDraw_GetDisplayMode ( LPDIRECTDRAW  iface,
LPDDSURFACEDESC  pDDSD 
)

◆ Main_DirectDraw_GetFourCCCodes()

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

◆ Main_DirectDraw_GetGDISurface()

HRESULT WINAPI Main_DirectDraw_GetGDISurface ( LPDIRECTDRAW  iface,
LPDIRECTDRAWSURFACE lplpGDIDDSSurface 
)

◆ Main_DirectDraw_GetMonitorFrequency()

HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency ( LPDIRECTDRAW  iface,
LPDWORD  lpFreq 
)

◆ Main_DirectDraw_GetScanLine()

HRESULT WINAPI Main_DirectDraw_GetScanLine ( LPDIRECTDRAW  iface,
LPDWORD  lpdwScanLine 
)

◆ Main_DirectDraw_GetVerticalBlankStatus()

HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus ( LPDIRECTDRAW  iface,
LPBOOL  lpbIsInVB 
)

◆ Main_DirectDraw_Initialize()

HRESULT WINAPI Main_DirectDraw_Initialize ( LPDIRECTDRAW  iface,
LPGUID  lpGUID 
)

◆ Main_DirectDraw_QueryInterface()

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

◆ Main_DirectDraw_Release()

ULONG WINAPI Main_DirectDraw_Release ( LPDIRECTDRAW  iface)

◆ Main_DirectDraw_RestoreDisplayMode()

HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode ( LPDIRECTDRAW  iface)

◆ Main_DirectDraw_SetCooperativeLevel()

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

◆ Main_DirectDraw_SetDisplayMode()

HRESULT WINAPI Main_DirectDraw_SetDisplayMode ( LPDIRECTDRAW  iface,
DWORD  dwWidth,
DWORD  dwHeight,
DWORD  dwBPP 
)

◆ Main_DirectDraw_WaitForVerticalBlank()

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

Variable Documentation

◆ DirectDraw_Vtable

IDirectDrawVtbl DirectDraw_Vtable
Initial value:
=
{
}
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
HRESULT WINAPI Main_DirectDraw_Compact(LPDIRECTDRAW iface)
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)
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDIRECTDRAW iface, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW iface, HWND hwnd, DWORD cooplevel)
ULONG WINAPI Main_DirectDraw_Release(LPDIRECTDRAW iface)
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDIRECTDRAW iface)
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)
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)

Definition at line 145 of file DirectDraw_Vtable.c.

Referenced by Create_DirectDraw(), Internal_CreateSurface(), and Main_DirectDraw_QueryInterface().