102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
com_direct3dtexture2.c File Reference
#include "graphics_com_private.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

static HRESULT d3dtexture2_gethandle (DTTR_Graphics_COM_Direct3DTexture2 *self, void *device, DWORD *handle)
 DTTR_COM_NOOP_HRESULT (d3dtexture2_palettechanged, DTTR_Graphics_COM_Direct3DTexture2 *self, DWORD start, DWORD count) DTTR_COM_NOOP_HRESULT(d3dtexture2_load
DTTR_Graphics_COM_Direct3DTexture2dttr_graphics_com_create_direct3d_texture2 (DTTR_Graphics_COM_DirectDrawSurface7 *surface)

Variables

static DWORD d3dtexture2_next_texture_handle = 1
DTTR_Graphics_COM_Direct3DTexture2self
DTTR_Graphics_COM_Direct3DTexture2 void *static srcTexture DTTR_Graphics_COM_Direct3DTexture2_VT vtbl

Function Documentation

◆ d3dtexture2_gethandle()

HRESULT d3dtexture2_gethandle ( DTTR_Graphics_COM_Direct3DTexture2 * self,
void * device,
DWORD * handle )
static

◆ DTTR_COM_NOOP_HRESULT()

DTTR_COM_NOOP_HRESULT ( d3dtexture2_palettechanged ,
DTTR_Graphics_COM_Direct3DTexture2 * self,
DWORD start,
DWORD count )

References count, DWORD, and self.

◆ dttr_graphics_com_create_direct3d_texture2()

Variable Documentation

◆ d3dtexture2_next_texture_handle

DWORD d3dtexture2_next_texture_handle = 1
static

Definition at line 7 of file com_direct3dtexture2.c.

Referenced by d3dtexture2_gethandle().

◆ self

◆ vtbl

Initial value:
= {
.QueryInterface = d3dtexture2_queryinterface,
.AddRef = d3dtexture2_addref,
.Release = d3dtexture2_release,
.GetHandle = d3dtexture2_gethandle,
.PaletteChanged = d3dtexture2_palettechanged,
.Load = d3dtexture2_load,
}
static HRESULT d3dtexture2_gethandle(DTTR_Graphics_COM_Direct3DTexture2 *self, void *device, DWORD *handle)

Definition at line 40 of file com_direct3dtexture2.c.