102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_Graphics_COM_DirectDraw7_VT Struct Reference

#include <graphics_com_private.h>

Data Fields

HRESULT(* QueryInterface )(DTTR_Graphics_COM_DirectDraw7 *self, void *riid, void **ppv)
ULONG(* AddRef )(DTTR_Graphics_COM_DirectDraw7 *self)
ULONG(* Release )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* Compact )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* CreateClipper )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void **clip, void *outer)
HRESULT(* CreatePalette )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *colors, void **pal, void *outer)
HRESULT(* CreateSurface )(DTTR_Graphics_COM_DirectDraw7 *self, void *desc, void **surf, void *outer)
HRESULT(* DuplicateSurface )(DTTR_Graphics_COM_DirectDraw7 *self, void *src, void **dst)
HRESULT(* EnumDisplayModes )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *desc, void *ctx, void *cb)
HRESULT(* EnumSurfaces )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *desc, void *ctx, void *cb)
HRESULT(* FlipToGDISurface )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* GetCaps )(DTTR_Graphics_COM_DirectDraw7 *self, void *drvCaps, void *helCaps)
HRESULT(* GetDisplayMode )(DTTR_Graphics_COM_DirectDraw7 *self, void *desc)
HRESULT(* GetFourCCCodes )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD *num, DWORD *codes)
HRESULT(* GetGDISurface )(DTTR_Graphics_COM_DirectDraw7 *self, void **surf)
HRESULT(* GetMonitorFrequency )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD *freq)
HRESULT(* GetScanLine )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD *line)
HRESULT(* GetVerticalBlankStatus )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD *inVB)
HRESULT(* Initialize )(DTTR_Graphics_COM_DirectDraw7 *self, void *guid)
HRESULT(* RestoreDisplayMode )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* SetCooperativeLevel )(DTTR_Graphics_COM_DirectDraw7 *self, HWND hwnd, DWORD f)
HRESULT(* SetDisplayMode )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD w, DWORD h, DWORD bpp, DWORD hz, DWORD f)
HRESULT(* WaitForVerticalBlank )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, HANDLE evt)
HRESULT(* GetAvailableVidMem )(DTTR_Graphics_COM_DirectDraw7 *self, void *caps, DWORD *tot, DWORD *free)
HRESULT(* GetSurfaceFromDC )(DTTR_Graphics_COM_DirectDraw7 *self, HDC dc, void **surf)
HRESULT(* RestoreAllSurfaces )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* TestCooperativeLevel )(DTTR_Graphics_COM_DirectDraw7 *self)
HRESULT(* GetDeviceIdentifier )(DTTR_Graphics_COM_DirectDraw7 *self, void *id, DWORD f)
HRESULT(* StartModeTest )(DTTR_Graphics_COM_DirectDraw7 *self, void *modes, DWORD n, DWORD f)
HRESULT(* EvaluateMode )(DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, DWORD *timeout)

Detailed Description

Definition at line 362 of file graphics_com_private.h.

Field Documentation

◆ AddRef

ULONG(* DTTR_Graphics_COM_DirectDraw7_VT::AddRef) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 368 of file graphics_com_private.h.

◆ Compact

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::Compact) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 370 of file graphics_com_private.h.

◆ CreateClipper

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::CreateClipper) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void **clip, void *outer)

Definition at line 371 of file graphics_com_private.h.

◆ CreatePalette

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::CreatePalette) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *colors, void **pal, void *outer)

Definition at line 377 of file graphics_com_private.h.

◆ CreateSurface

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::CreateSurface) (DTTR_Graphics_COM_DirectDraw7 *self, void *desc, void **surf, void *outer)

Definition at line 384 of file graphics_com_private.h.

◆ DuplicateSurface

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::DuplicateSurface) (DTTR_Graphics_COM_DirectDraw7 *self, void *src, void **dst)

Definition at line 390 of file graphics_com_private.h.

◆ EnumDisplayModes

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::EnumDisplayModes) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *desc, void *ctx, void *cb)

Definition at line 395 of file graphics_com_private.h.

◆ EnumSurfaces

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::EnumSurfaces) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, void *desc, void *ctx, void *cb)

Definition at line 402 of file graphics_com_private.h.

◆ EvaluateMode

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::EvaluateMode) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, DWORD *timeout)

Definition at line 487 of file graphics_com_private.h.

◆ FlipToGDISurface

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::FlipToGDISurface) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 409 of file graphics_com_private.h.

◆ GetAvailableVidMem

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetAvailableVidMem) (DTTR_Graphics_COM_DirectDraw7 *self, void *caps, DWORD *tot, DWORD *free)

Definition at line 463 of file graphics_com_private.h.

◆ GetCaps

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetCaps) (DTTR_Graphics_COM_DirectDraw7 *self, void *drvCaps, void *helCaps)

Definition at line 410 of file graphics_com_private.h.

◆ GetDeviceIdentifier

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetDeviceIdentifier) (DTTR_Graphics_COM_DirectDraw7 *self, void *id, DWORD f)

Definition at line 476 of file graphics_com_private.h.

◆ GetDisplayMode

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetDisplayMode) (DTTR_Graphics_COM_DirectDraw7 *self, void *desc)

Definition at line 415 of file graphics_com_private.h.

◆ GetFourCCCodes

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetFourCCCodes) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD *num, DWORD *codes)

Definition at line 419 of file graphics_com_private.h.

◆ GetGDISurface

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetGDISurface) (DTTR_Graphics_COM_DirectDraw7 *self, void **surf)

Definition at line 424 of file graphics_com_private.h.

◆ GetMonitorFrequency

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetMonitorFrequency) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD *freq)

Definition at line 428 of file graphics_com_private.h.

◆ GetScanLine

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetScanLine) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD *line)

Definition at line 432 of file graphics_com_private.h.

◆ GetSurfaceFromDC

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetSurfaceFromDC) (DTTR_Graphics_COM_DirectDraw7 *self, HDC dc, void **surf)

Definition at line 469 of file graphics_com_private.h.

◆ GetVerticalBlankStatus

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::GetVerticalBlankStatus) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD *inVB)

Definition at line 436 of file graphics_com_private.h.

◆ Initialize

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::Initialize) (DTTR_Graphics_COM_DirectDraw7 *self, void *guid)

Definition at line 440 of file graphics_com_private.h.

◆ QueryInterface

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::QueryInterface) (DTTR_Graphics_COM_DirectDraw7 *self, void *riid, void **ppv)

Definition at line 363 of file graphics_com_private.h.

Referenced by dttr_graphics_com_create_directdraw7().

◆ Release

ULONG(* DTTR_Graphics_COM_DirectDraw7_VT::Release) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 369 of file graphics_com_private.h.

◆ RestoreAllSurfaces

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::RestoreAllSurfaces) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 474 of file graphics_com_private.h.

◆ RestoreDisplayMode

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::RestoreDisplayMode) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 444 of file graphics_com_private.h.

◆ SetCooperativeLevel

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::SetCooperativeLevel) (DTTR_Graphics_COM_DirectDraw7 *self, HWND hwnd, DWORD f)

Definition at line 445 of file graphics_com_private.h.

◆ SetDisplayMode

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::SetDisplayMode) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD w, DWORD h, DWORD bpp, DWORD hz, DWORD f)

Definition at line 450 of file graphics_com_private.h.

◆ StartModeTest

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::StartModeTest) (DTTR_Graphics_COM_DirectDraw7 *self, void *modes, DWORD n, DWORD f)

Definition at line 481 of file graphics_com_private.h.

◆ TestCooperativeLevel

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::TestCooperativeLevel) (DTTR_Graphics_COM_DirectDraw7 *self)

Definition at line 475 of file graphics_com_private.h.

◆ WaitForVerticalBlank

HRESULT(* DTTR_Graphics_COM_DirectDraw7_VT::WaitForVerticalBlank) (DTTR_Graphics_COM_DirectDraw7 *self, DWORD f, HANDLE evt)

Definition at line 458 of file graphics_com_private.h.


The documentation for this struct was generated from the following file: