ReactOS  0.4.13-dev-99-g7e18b6d
d3dx9core.h File Reference
#include <d3dx9.h>
Include dependency graph for d3dx9core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DXFONT_DESCA
 
struct  _D3DXFONT_DESCW
 
struct  _D3DXRTE_DESC
 
struct  _D3DXRTS_DESC
 

Macros

#define D3DX_VERSION   0x0902
 
#define D3DXSPRITE_DONOTSAVESTATE   0x00000001
 
#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE   0x00000002
 
#define D3DXSPRITE_OBJECTSPACE   0x00000004
 
#define D3DXSPRITE_BILLBOARD   0x00000008
 
#define D3DXSPRITE_ALPHABLEND   0x00000010
 
#define D3DXSPRITE_SORT_TEXTURE   0x00000020
 
#define D3DXSPRITE_SORT_DEPTH_FRONTTOBACK   0x00000040
 
#define D3DXSPRITE_SORT_DEPTH_BACKTOFRONT   0x00000080
 
#define D3DXSPRITE_DO_NOT_ADDREF_TEXTURE   0x00000100
 
#define INTERFACE   ID3DXBuffer
 
#define ID3DXBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXBuffer_GetBufferPointer(p)   (p)->lpVtbl->GetBufferPointer(p)
 
#define ID3DXBuffer_GetBufferSize(p)   (p)->lpVtbl->GetBufferSize(p)
 
#define INTERFACE   ID3DXFont
 
#define ID3DXFont_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXFont_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXFont_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXFont_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define ID3DXFont_GetDescA(p, a)   (p)->lpVtbl->GetDescA(p,a)
 
#define ID3DXFont_GetDescW(p, a)   (p)->lpVtbl->GetDescW(p,a)
 
#define ID3DXFont_GetTextMetricsA(p, a)   (p)->lpVtbl->GetTextMetricsA(p,a)
 
#define ID3DXFont_GetTextMetricsW(p, a)   (p)->lpVtbl->GetTextMetricsW(p,a)
 
#define ID3DXFont_GetDC(p)   (p)->lpVtbl->GetDC(p)
 
#define ID3DXFont_GetGlyphData(p, a, b, c, d)   (p)->lpVtbl->GetGlyphData(p,a,b,c,d)
 
#define ID3DXFont_PreloadCharacters(p, a, b)   (p)->lpVtbl->PreloadCharacters(p,a,b)
 
#define ID3DXFont_PreloadGlyphs(p, a, b)   (p)->lpVtbl->PreloadGlyphs(p,a,b)
 
#define ID3DXFont_PreloadTextA(p, a, b)   (p)->lpVtbl->PreloadTextA(p,a,b)
 
#define ID3DXFont_PreloadTextW(p, a, b)   (p)->lpVtbl->PreloadTextW(p,a,b)
 
#define ID3DXFont_DrawTextA(p, a, b, c, d, e, f)   (p)->lpVtbl->DrawTextA(p,a,b,c,d,e,f)
 
#define ID3DXFont_DrawTextW(p, a, b, c, d, e, f)   (p)->lpVtbl->DrawTextW(p,a,b,c,d,e,f)
 
#define ID3DXFont_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define ID3DXFont_OnResetDevice(p)   (p)->lpVtbl->OnResetDevice(p)
 
#define ID3DXFont_DrawText   WINELIB_NAME_AW(ID3DXFont_DrawText)
 
#define ID3DXFont_GetDesc   WINELIB_NAME_AW(ID3DXFont_GetDesc)
 
#define ID3DXFont_GetTextMetrics   WINELIB_NAME_AW(ID3DXFont_GetTextMetrics)
 
#define ID3DXFont_PreloadText   WINELIB_NAME_AW(ID3DXFont_PreloadText)
 
#define INTERFACE   ID3DXLine
 
#define ID3DXLine_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXLine_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXLine_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXLine_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define ID3DXLine_Begin(p)   (p)->lpVtbl->Begin(p)
 
#define ID3DXLine_Draw(p, a, b, c)   (p)->lpVtbl->Draw(p,a,b,c)
 
#define ID3DXLine_DrawTransform(p, a, b, c, d)   (p)->lpVtbl->DrawTransform(p,a,b,c,d)
 
#define ID3DXLine_SetPattern(p, a)   (p)->lpVtbl->SetPattern(p,a)
 
#define ID3DXLine_GetPattern(p)   (p)->lpVtbl->GetPattern(p)
 
#define ID3DXLine_SetPatternScale(p, a)   (p)->lpVtbl->SetPatternScale(p,a)
 
#define ID3DXLine_GetPatternScale(p)   (p)->lpVtbl->GetPatternScale(p)
 
#define ID3DXLine_SetWidth(p, a)   (p)->lpVtbl->SetWidth(p,a)
 
#define ID3DXLine_GetWidth(p)   (p)->lpVtbl->GetWidth(p)
 
#define ID3DXLine_SetAntialias(p, a)   (p)->lpVtbl->SetAntialias(p,a)
 
#define ID3DXLine_GetAntialias(p)   (p)->lpVtbl->GetAntialias(p)
 
#define ID3DXLine_SetGLLines(p, a)   (p)->lpVtbl->SetGLLines(p,a)
 
#define ID3DXLine_GetGLLines(p)   (p)->lpVtbl->GetGLLines(p)
 
#define ID3DXLine_End(p)   (p)->lpVtbl->End(p)
 
#define ID3DXLine_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define ID3DXLine_OnResetDevice(p)   (p)->lpVtbl->OnResetDevice(p)
 
#define INTERFACE   ID3DXRenderToEnvMap
 
#define ID3DXRenderToEnvMap_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXRenderToEnvMap_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXRenderToEnvMap_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXRenderToEnvMap_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define ID3DXRenderToEnvMap_GetDesc(p, a)   (p)->lpVtbl->GetDesc(p,a)
 
#define ID3DXRenderToEnvMap_BeginCube(p, a)   (p)->lpVtbl->BeginCube(p,a)
 
#define ID3DXRenderToEnvMap_BeginSphere(p, a)   (p)->lpVtbl->BeginSphere(p,a)
 
#define ID3DXRenderToEnvMap_BeginHemisphere(p, a, b)   (p)->lpVtbl->BeginHemisphere(p,a,b)
 
#define ID3DXRenderToEnvMap_BeginParabolic(p, a, b)   (p)->lpVtbl->BeginParabolic(p,a,b)
 
#define ID3DXRenderToEnvMap_Face(p, a, b)   (p)->lpVtbl->Face(p,a,b)
 
#define ID3DXRenderToEnvMap_End(p, a)   (p)->lpVtbl->End(p,a)
 
#define ID3DXRenderToEnvMap_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define ID3DXRenderToEnvMap_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define INTERFACE   ID3DXRenderToSurface
 
#define ID3DXRenderToSurface_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXRenderToSurface_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXRenderToSurface_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXRenderToSurface_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define ID3DXRenderToSurface_GetDesc(p, a)   (p)->lpVtbl->GetDesc(p,a)
 
#define ID3DXRenderToSurface_BeginScene(p, a, b)   (p)->lpVtbl->BeginScene(p,a,b)
 
#define ID3DXRenderToSurface_EndScene(p, a)   (p)->lpVtbl->EndScene(p,a)
 
#define ID3DXRenderToSurface_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define ID3DXRenderToSurface_OnResetDevice(p)   (p)->lpVtbl->OnResetDevice(p)
 
#define INTERFACE   ID3DXSprite
 
#define ID3DXSprite_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define ID3DXSprite_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define ID3DXSprite_Release(p)   (p)->lpVtbl->Release(p)
 
#define ID3DXSprite_GetDevice(p, a)   (p)->lpVtbl->GetDevice(p,a)
 
#define ID3DXSprite_GetTransform(p, a)   (p)->lpVtbl->GetTransform(p,a)
 
#define ID3DXSprite_SetTransform(p, a)   (p)->lpVtbl->SetTransform(p,a)
 
#define ID3DXSprite_SetWorldViewRH(p, a, b)   (p)->lpVtbl->SetWorldViewRH(p,a,b)
 
#define ID3DXSprite_SetWorldViewLH(p, a, b)   (p)->lpVtbl->SetWorldViewLH(p,a,b)
 
#define ID3DXSprite_Begin(p, a)   (p)->lpVtbl->Begin(p,a)
 
#define ID3DXSprite_Draw(p, a, b, c, d, e)   (p)->lpVtbl->Draw(p,a,b,c,d,e)
 
#define ID3DXSprite_Flush(p)   (p)->lpVtbl->Flush(p)
 
#define ID3DXSprite_End(p)   (p)->lpVtbl->End(p)
 
#define ID3DXSprite_OnLostDevice(p)   (p)->lpVtbl->OnLostDevice(p)
 
#define ID3DXSprite_OnResetDevice(p)   (p)->lpVtbl->OnResetDevice(p)
 
#define D3DXCreateFont   WINELIB_NAME_AW(D3DXCreateFont)
 
#define D3DXCreateFontIndirect   WINELIB_NAME_AW(D3DXCreateFontIndirect)
 

Typedefs

typedef struct ID3DXBufferLPD3DXBUFFER
 
typedef struct ID3DXFontLPD3DXFONT
 
typedef struct ID3DXLine * LPD3DXLINE
 
typedef struct ID3DXRenderToEnvMap * LPD3DXRenderToEnvMap
 
typedef struct ID3DXRenderToSurface * LPD3DXRENDERTOSURFACE
 
typedef struct ID3DXSprite * LPD3DXSPRITE
 
typedef struct _D3DXFONT_DESCA D3DXFONT_DESCA
 
typedef struct _D3DXFONT_DESCALPD3DXFONT_DESCA
 
typedef struct _D3DXFONT_DESCW D3DXFONT_DESCW
 
typedef struct _D3DXFONT_DESCWLPD3DXFONT_DESCW
 
typedef struct _D3DXRTE_DESC D3DXRTE_DESC
 
typedef struct _D3DXRTS_DESC D3DXRTS_DESC
 

Functions

 DEFINE_GUID (IID_ID3DXBuffer, 0x8ba5fb08, 0x5195, 0x40e2, 0xac, 0x58, 0xd, 0x98, 0x9c, 0x3a, 0x1, 0x2)
 
 DEFINE_GUID (IID_ID3DXFont, 0xd79dbb70, 0x5f21, 0x4d36, 0xbb, 0xc2, 0xff, 0x52, 0x5c, 0x21, 0x3c, 0xdc)
 
 DEFINE_GUID (IID_ID3DXLine, 0xd379ba7f, 0x9042, 0x4ac4, 0x9f, 0x5e, 0x58, 0x19, 0x2a, 0x4c, 0x6b, 0xd8)
 
 DEFINE_GUID (IID_ID3DXRenderToEnvMap, 0x313f1b4b, 0xc7b0, 0x4fa2, 0x9d, 0x9d, 0x8d, 0x38, 0xb, 0x64, 0x38, 0x5e)
 
 DEFINE_GUID (IID_ID3DXRenderToSurface, 0x6985f346, 0x2c3d, 0x43b3, 0xbe, 0x8b, 0xda, 0xae, 0x8a, 0x3, 0xd8, 0x94)
 
 DEFINE_GUID (IID_ID3DXSprite, 0xba0b762d, 0x7d28, 0x43ec, 0xb9, 0xdc, 0x2f, 0x84, 0x44, 0x3b, 0x6, 0x14)
 
 DECLARE_INTERFACE_ (ID3DXBuffer, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXFont, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXLine, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXRenderToEnvMap, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXRenderToSurface, IUnknown)
 
 DECLARE_INTERFACE_ (ID3DXSprite, IUnknown)
 
BOOL WINAPI D3DXCheckVersion (UINT d3dsdkvers, UINT d3dxsdkvers)
 
HRESULT WINAPI D3DXCreateFontA (struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight, UINT miplevels, BOOL italic, DWORD charset, DWORD precision, DWORD quality, DWORD pitchandfamily, const char *facename, struct ID3DXFont **font)
 
HRESULT WINAPI D3DXCreateFontW (struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight, UINT miplevels, BOOL italic, DWORD charset, DWORD precision, DWORD quality, DWORD pitchandfamily, const WCHAR *facename, struct ID3DXFont **font)
 
HRESULT WINAPI D3DXCreateFontIndirectA (struct IDirect3DDevice9 *device, const D3DXFONT_DESCA *desc, struct ID3DXFont **font)
 
HRESULT WINAPI D3DXCreateFontIndirectW (struct IDirect3DDevice9 *device, const D3DXFONT_DESCW *desc, struct ID3DXFont **font)
 
HRESULT WINAPI D3DXCreateLine (struct IDirect3DDevice9 *device, struct ID3DXLine **line)
 
HRESULT WINAPI D3DXCreateRenderToEnvMap (struct IDirect3DDevice9 *device, UINT size, UINT miplevels, D3DFORMAT format, BOOL stencil, D3DFORMAT stencil_format, struct ID3DXRenderToEnvMap **rtem)
 
HRESULT WINAPI D3DXCreateRenderToSurface (struct IDirect3DDevice9 *device, UINT width, UINT height, D3DFORMAT format, BOOL stencil, D3DFORMAT stencil_format, struct ID3DXRenderToSurface **rts)
 
HRESULT WINAPI D3DXCreateSprite (struct IDirect3DDevice9 *device, struct ID3DXSprite **sprite)
 
BOOL WINAPI D3DXDebugMute (BOOL mute)
 
UINT WINAPI D3DXGetDriverLevel (struct IDirect3DDevice9 *device)
 

Macro Definition Documentation

◆ D3DX_VERSION

#define D3DX_VERSION   0x0902

Definition at line 29 of file d3dx9core.h.

◆ D3DXCreateFont

#define D3DXCreateFont   WINELIB_NAME_AW(D3DXCreateFont)

Definition at line 488 of file d3dx9core.h.

◆ D3DXCreateFontIndirect

#define D3DXCreateFontIndirect   WINELIB_NAME_AW(D3DXCreateFontIndirect)

Definition at line 493 of file d3dx9core.h.

◆ D3DXSPRITE_ALPHABLEND

#define D3DXSPRITE_ALPHABLEND   0x00000010

Definition at line 37 of file d3dx9core.h.

◆ D3DXSPRITE_BILLBOARD

#define D3DXSPRITE_BILLBOARD   0x00000008

Definition at line 36 of file d3dx9core.h.

◆ D3DXSPRITE_DO_NOT_ADDREF_TEXTURE

#define D3DXSPRITE_DO_NOT_ADDREF_TEXTURE   0x00000100

Definition at line 41 of file d3dx9core.h.

◆ D3DXSPRITE_DONOTMODIFY_RENDERSTATE

#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE   0x00000002

Definition at line 34 of file d3dx9core.h.

◆ D3DXSPRITE_DONOTSAVESTATE

#define D3DXSPRITE_DONOTSAVESTATE   0x00000001

Definition at line 33 of file d3dx9core.h.

◆ D3DXSPRITE_OBJECTSPACE

#define D3DXSPRITE_OBJECTSPACE   0x00000004

Definition at line 35 of file d3dx9core.h.

◆ D3DXSPRITE_SORT_DEPTH_BACKTOFRONT

#define D3DXSPRITE_SORT_DEPTH_BACKTOFRONT   0x00000080

Definition at line 40 of file d3dx9core.h.

◆ D3DXSPRITE_SORT_DEPTH_FRONTTOBACK

#define D3DXSPRITE_SORT_DEPTH_FRONTTOBACK   0x00000040

Definition at line 39 of file d3dx9core.h.

◆ D3DXSPRITE_SORT_TEXTURE

#define D3DXSPRITE_SORT_TEXTURE   0x00000020

Definition at line 38 of file d3dx9core.h.

◆ ID3DXBuffer_AddRef

#define ID3DXBuffer_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 82 of file d3dx9core.h.

◆ ID3DXBuffer_GetBufferPointer

#define ID3DXBuffer_GetBufferPointer (   p)    (p)->lpVtbl->GetBufferPointer(p)

Definition at line 85 of file d3dx9core.h.

◆ ID3DXBuffer_GetBufferSize

#define ID3DXBuffer_GetBufferSize (   p)    (p)->lpVtbl->GetBufferSize(p)

Definition at line 86 of file d3dx9core.h.

◆ ID3DXBuffer_QueryInterface

#define ID3DXBuffer_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 81 of file d3dx9core.h.

◆ ID3DXBuffer_Release

#define ID3DXBuffer_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 83 of file d3dx9core.h.

◆ ID3DXFont_AddRef

#define ID3DXFont_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 165 of file d3dx9core.h.

◆ ID3DXFont_DrawText

#define ID3DXFont_DrawText   WINELIB_NAME_AW(ID3DXFont_DrawText)

Definition at line 205 of file d3dx9core.h.

◆ ID3DXFont_DrawTextA

#define ID3DXFont_DrawTextA (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->DrawTextA(p,a,b,c,d,e,f)

Definition at line 179 of file d3dx9core.h.

◆ ID3DXFont_DrawTextW

#define ID3DXFont_DrawTextW (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->DrawTextW(p,a,b,c,d,e,f)

Definition at line 180 of file d3dx9core.h.

◆ ID3DXFont_GetDC

#define ID3DXFont_GetDC (   p)    (p)->lpVtbl->GetDC(p)

Definition at line 173 of file d3dx9core.h.

◆ ID3DXFont_GetDesc

#define ID3DXFont_GetDesc   WINELIB_NAME_AW(ID3DXFont_GetDesc)

Definition at line 206 of file d3dx9core.h.

◆ ID3DXFont_GetDescA

#define ID3DXFont_GetDescA (   p,
  a 
)    (p)->lpVtbl->GetDescA(p,a)

Definition at line 169 of file d3dx9core.h.

◆ ID3DXFont_GetDescW

#define ID3DXFont_GetDescW (   p,
  a 
)    (p)->lpVtbl->GetDescW(p,a)

Definition at line 170 of file d3dx9core.h.

◆ ID3DXFont_GetDevice

#define ID3DXFont_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 168 of file d3dx9core.h.

◆ ID3DXFont_GetGlyphData

#define ID3DXFont_GetGlyphData (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->GetGlyphData(p,a,b,c,d)

Definition at line 174 of file d3dx9core.h.

◆ ID3DXFont_GetTextMetrics

#define ID3DXFont_GetTextMetrics   WINELIB_NAME_AW(ID3DXFont_GetTextMetrics)

Definition at line 207 of file d3dx9core.h.

◆ ID3DXFont_GetTextMetricsA

#define ID3DXFont_GetTextMetricsA (   p,
  a 
)    (p)->lpVtbl->GetTextMetricsA(p,a)

Definition at line 171 of file d3dx9core.h.

◆ ID3DXFont_GetTextMetricsW

#define ID3DXFont_GetTextMetricsW (   p,
  a 
)    (p)->lpVtbl->GetTextMetricsW(p,a)

Definition at line 172 of file d3dx9core.h.

◆ ID3DXFont_OnLostDevice

#define ID3DXFont_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 181 of file d3dx9core.h.

◆ ID3DXFont_OnResetDevice

#define ID3DXFont_OnResetDevice (   p)    (p)->lpVtbl->OnResetDevice(p)

Definition at line 182 of file d3dx9core.h.

◆ ID3DXFont_PreloadCharacters

#define ID3DXFont_PreloadCharacters (   p,
  a,
  b 
)    (p)->lpVtbl->PreloadCharacters(p,a,b)

Definition at line 175 of file d3dx9core.h.

◆ ID3DXFont_PreloadGlyphs

#define ID3DXFont_PreloadGlyphs (   p,
  a,
  b 
)    (p)->lpVtbl->PreloadGlyphs(p,a,b)

Definition at line 176 of file d3dx9core.h.

◆ ID3DXFont_PreloadText

#define ID3DXFont_PreloadText   WINELIB_NAME_AW(ID3DXFont_PreloadText)

Definition at line 208 of file d3dx9core.h.

◆ ID3DXFont_PreloadTextA

#define ID3DXFont_PreloadTextA (   p,
  a,
  b 
)    (p)->lpVtbl->PreloadTextA(p,a,b)

Definition at line 177 of file d3dx9core.h.

◆ ID3DXFont_PreloadTextW

#define ID3DXFont_PreloadTextW (   p,
  a,
  b 
)    (p)->lpVtbl->PreloadTextW(p,a,b)

Definition at line 178 of file d3dx9core.h.

◆ ID3DXFont_QueryInterface

#define ID3DXFont_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 164 of file d3dx9core.h.

◆ ID3DXFont_Release

#define ID3DXFont_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 166 of file d3dx9core.h.

◆ ID3DXLine_AddRef

#define ID3DXLine_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 245 of file d3dx9core.h.

◆ ID3DXLine_Begin

#define ID3DXLine_Begin (   p)    (p)->lpVtbl->Begin(p)

Definition at line 249 of file d3dx9core.h.

◆ ID3DXLine_Draw

#define ID3DXLine_Draw (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Draw(p,a,b,c)

Definition at line 250 of file d3dx9core.h.

◆ ID3DXLine_DrawTransform

#define ID3DXLine_DrawTransform (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->DrawTransform(p,a,b,c,d)

Definition at line 251 of file d3dx9core.h.

◆ ID3DXLine_End

#define ID3DXLine_End (   p)    (p)->lpVtbl->End(p)

Definition at line 262 of file d3dx9core.h.

◆ ID3DXLine_GetAntialias

#define ID3DXLine_GetAntialias (   p)    (p)->lpVtbl->GetAntialias(p)

Definition at line 259 of file d3dx9core.h.

◆ ID3DXLine_GetDevice

#define ID3DXLine_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 248 of file d3dx9core.h.

◆ ID3DXLine_GetGLLines

#define ID3DXLine_GetGLLines (   p)    (p)->lpVtbl->GetGLLines(p)

Definition at line 261 of file d3dx9core.h.

◆ ID3DXLine_GetPattern

#define ID3DXLine_GetPattern (   p)    (p)->lpVtbl->GetPattern(p)

Definition at line 253 of file d3dx9core.h.

◆ ID3DXLine_GetPatternScale

#define ID3DXLine_GetPatternScale (   p)    (p)->lpVtbl->GetPatternScale(p)

Definition at line 255 of file d3dx9core.h.

◆ ID3DXLine_GetWidth

#define ID3DXLine_GetWidth (   p)    (p)->lpVtbl->GetWidth(p)

Definition at line 257 of file d3dx9core.h.

◆ ID3DXLine_OnLostDevice

#define ID3DXLine_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 263 of file d3dx9core.h.

◆ ID3DXLine_OnResetDevice

#define ID3DXLine_OnResetDevice (   p)    (p)->lpVtbl->OnResetDevice(p)

Definition at line 264 of file d3dx9core.h.

◆ ID3DXLine_QueryInterface

#define ID3DXLine_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 244 of file d3dx9core.h.

◆ ID3DXLine_Release

#define ID3DXLine_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 246 of file d3dx9core.h.

◆ ID3DXLine_SetAntialias

#define ID3DXLine_SetAntialias (   p,
  a 
)    (p)->lpVtbl->SetAntialias(p,a)

Definition at line 258 of file d3dx9core.h.

◆ ID3DXLine_SetGLLines

#define ID3DXLine_SetGLLines (   p,
  a 
)    (p)->lpVtbl->SetGLLines(p,a)

Definition at line 260 of file d3dx9core.h.

◆ ID3DXLine_SetPattern

#define ID3DXLine_SetPattern (   p,
  a 
)    (p)->lpVtbl->SetPattern(p,a)

Definition at line 252 of file d3dx9core.h.

◆ ID3DXLine_SetPatternScale

#define ID3DXLine_SetPatternScale (   p,
  a 
)    (p)->lpVtbl->SetPatternScale(p,a)

Definition at line 254 of file d3dx9core.h.

◆ ID3DXLine_SetWidth

#define ID3DXLine_SetWidth (   p,
  a 
)    (p)->lpVtbl->SetWidth(p,a)

Definition at line 256 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_AddRef

#define ID3DXRenderToEnvMap_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 327 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_BeginCube

#define ID3DXRenderToEnvMap_BeginCube (   p,
  a 
)    (p)->lpVtbl->BeginCube(p,a)

Definition at line 332 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_BeginHemisphere

#define ID3DXRenderToEnvMap_BeginHemisphere (   p,
  a,
  b 
)    (p)->lpVtbl->BeginHemisphere(p,a,b)

Definition at line 334 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_BeginParabolic

#define ID3DXRenderToEnvMap_BeginParabolic (   p,
  a,
  b 
)    (p)->lpVtbl->BeginParabolic(p,a,b)

Definition at line 335 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_BeginSphere

#define ID3DXRenderToEnvMap_BeginSphere (   p,
  a 
)    (p)->lpVtbl->BeginSphere(p,a)

Definition at line 333 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_End

#define ID3DXRenderToEnvMap_End (   p,
  a 
)    (p)->lpVtbl->End(p,a)

Definition at line 337 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_Face

#define ID3DXRenderToEnvMap_Face (   p,
  a,
  b 
)    (p)->lpVtbl->Face(p,a,b)

Definition at line 336 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_GetDesc

#define ID3DXRenderToEnvMap_GetDesc (   p,
  a 
)    (p)->lpVtbl->GetDesc(p,a)

Definition at line 331 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_GetDevice

#define ID3DXRenderToEnvMap_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 330 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_OnLostDevice [1/2]

#define ID3DXRenderToEnvMap_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 339 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_OnLostDevice [2/2]

#define ID3DXRenderToEnvMap_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 339 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_QueryInterface

#define ID3DXRenderToEnvMap_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 326 of file d3dx9core.h.

◆ ID3DXRenderToEnvMap_Release

#define ID3DXRenderToEnvMap_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 328 of file d3dx9core.h.

◆ ID3DXRenderToSurface_AddRef

#define ID3DXRenderToSurface_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 389 of file d3dx9core.h.

◆ ID3DXRenderToSurface_BeginScene

#define ID3DXRenderToSurface_BeginScene (   p,
  a,
  b 
)    (p)->lpVtbl->BeginScene(p,a,b)

Definition at line 394 of file d3dx9core.h.

◆ ID3DXRenderToSurface_EndScene

#define ID3DXRenderToSurface_EndScene (   p,
  a 
)    (p)->lpVtbl->EndScene(p,a)

Definition at line 395 of file d3dx9core.h.

◆ ID3DXRenderToSurface_GetDesc

#define ID3DXRenderToSurface_GetDesc (   p,
  a 
)    (p)->lpVtbl->GetDesc(p,a)

Definition at line 393 of file d3dx9core.h.

◆ ID3DXRenderToSurface_GetDevice

#define ID3DXRenderToSurface_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 392 of file d3dx9core.h.

◆ ID3DXRenderToSurface_OnLostDevice

#define ID3DXRenderToSurface_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 396 of file d3dx9core.h.

◆ ID3DXRenderToSurface_OnResetDevice

#define ID3DXRenderToSurface_OnResetDevice (   p)    (p)->lpVtbl->OnResetDevice(p)

Definition at line 397 of file d3dx9core.h.

◆ ID3DXRenderToSurface_QueryInterface

#define ID3DXRenderToSurface_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 388 of file d3dx9core.h.

◆ ID3DXRenderToSurface_Release

#define ID3DXRenderToSurface_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 390 of file d3dx9core.h.

◆ ID3DXSprite_AddRef

#define ID3DXSprite_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 441 of file d3dx9core.h.

◆ ID3DXSprite_Begin

#define ID3DXSprite_Begin (   p,
  a 
)    (p)->lpVtbl->Begin(p,a)

Definition at line 449 of file d3dx9core.h.

◆ ID3DXSprite_Draw

#define ID3DXSprite_Draw (   p,
  a,
  b,
  c,
  d,
  e 
)    (p)->lpVtbl->Draw(p,a,b,c,d,e)

Definition at line 450 of file d3dx9core.h.

◆ ID3DXSprite_End

#define ID3DXSprite_End (   p)    (p)->lpVtbl->End(p)

Definition at line 452 of file d3dx9core.h.

◆ ID3DXSprite_Flush

#define ID3DXSprite_Flush (   p)    (p)->lpVtbl->Flush(p)

Definition at line 451 of file d3dx9core.h.

◆ ID3DXSprite_GetDevice

#define ID3DXSprite_GetDevice (   p,
  a 
)    (p)->lpVtbl->GetDevice(p,a)

Definition at line 444 of file d3dx9core.h.

◆ ID3DXSprite_GetTransform

#define ID3DXSprite_GetTransform (   p,
  a 
)    (p)->lpVtbl->GetTransform(p,a)

Definition at line 445 of file d3dx9core.h.

◆ ID3DXSprite_OnLostDevice

#define ID3DXSprite_OnLostDevice (   p)    (p)->lpVtbl->OnLostDevice(p)

Definition at line 453 of file d3dx9core.h.

◆ ID3DXSprite_OnResetDevice

#define ID3DXSprite_OnResetDevice (   p)    (p)->lpVtbl->OnResetDevice(p)

Definition at line 454 of file d3dx9core.h.

◆ ID3DXSprite_QueryInterface

#define ID3DXSprite_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 440 of file d3dx9core.h.

◆ ID3DXSprite_Release

#define ID3DXSprite_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 442 of file d3dx9core.h.

◆ ID3DXSprite_SetTransform

#define ID3DXSprite_SetTransform (   p,
  a 
)    (p)->lpVtbl->SetTransform(p,a)

Definition at line 446 of file d3dx9core.h.

◆ ID3DXSprite_SetWorldViewLH

#define ID3DXSprite_SetWorldViewLH (   p,
  a,
  b 
)    (p)->lpVtbl->SetWorldViewLH(p,a,b)

Definition at line 448 of file d3dx9core.h.

◆ ID3DXSprite_SetWorldViewRH

#define ID3DXSprite_SetWorldViewRH (   p,
  a,
  b 
)    (p)->lpVtbl->SetWorldViewRH(p,a,b)

Definition at line 447 of file d3dx9core.h.

◆ INTERFACE [1/6]

Definition at line 412 of file d3dx9core.h.

◆ INTERFACE [2/6]

Definition at line 412 of file d3dx9core.h.

◆ INTERFACE [3/6]

#define INTERFACE   ID3DXLine

Definition at line 412 of file d3dx9core.h.

◆ INTERFACE [4/6]

#define INTERFACE   ID3DXRenderToEnvMap

Definition at line 412 of file d3dx9core.h.

◆ INTERFACE [5/6]

#define INTERFACE   ID3DXRenderToSurface

Definition at line 412 of file d3dx9core.h.

◆ INTERFACE [6/6]

#define INTERFACE   ID3DXSprite

Definition at line 412 of file d3dx9core.h.

Typedef Documentation

◆ D3DXFONT_DESCA

◆ D3DXFONT_DESCW

◆ D3DXRTE_DESC

◆ D3DXRTS_DESC

◆ LPD3DXBUFFER

Definition at line 56 of file d3dx9core.h.

◆ LPD3DXFONT

Definition at line 57 of file d3dx9core.h.

◆ LPD3DXFONT_DESCA

◆ LPD3DXFONT_DESCW

◆ LPD3DXLINE

typedef struct ID3DXLine* LPD3DXLINE

Definition at line 58 of file d3dx9core.h.

◆ LPD3DXRenderToEnvMap

typedef struct ID3DXRenderToEnvMap* LPD3DXRenderToEnvMap

Definition at line 59 of file d3dx9core.h.

◆ LPD3DXRENDERTOSURFACE

typedef struct ID3DXRenderToSurface* LPD3DXRENDERTOSURFACE

Definition at line 60 of file d3dx9core.h.

◆ LPD3DXSPRITE

typedef struct ID3DXSprite* LPD3DXSPRITE

Definition at line 61 of file d3dx9core.h.

Function Documentation

◆ D3DXCheckVersion()

BOOL WINAPI D3DXCheckVersion ( UINT  d3dsdkvers,
UINT  d3dxsdkvers 
)

Definition at line 58 of file d3dx9_24_main.c.

59 {
60  if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==24)
61  return TRUE;
62  else
63  return FALSE;
64 }
#define TRUE
Definition: types.h:120
#define D3D_SDK_VERSION
Definition: d3d8.h:56

◆ D3DXCreateFontA()

HRESULT WINAPI D3DXCreateFontA ( struct IDirect3DDevice9 *  device,
INT  height,
UINT  width,
UINT  weight,
UINT  miplevels,
BOOL  italic,
DWORD  charset,
DWORD  precision,
DWORD  quality,
DWORD  pitchandfamily,
const char facename,
struct ID3DXFont **  font 
)

Definition at line 429 of file font.c.

432 {
434 
435  if( !device || !font ) return D3DERR_INVALIDCALL;
436 
437  desc.Height=height;
438  desc.Width=width;
439  desc.Weight=weight;
440  desc.MipLevels=miplevels;
441  desc.Italic=italic;
442  desc.CharSet=charset;
443  desc.OutputPrecision=precision;
444  desc.Quality=quality;
445  desc.PitchAndFamily=pitchandfamily;
446  if(facename != NULL) lstrcpyA(desc.FaceName, facename);
447  else desc.FaceName[0] = '\0';
448 
450 }
GLint GLint GLsizei width
Definition: gl.h:1546
CFF_Charset charset
Definition: cffcmap.c:138
Definition: mk_font.cpp:20
#define D3DERR_INVALIDCALL
GLuint GLuint GLfloat weight
Definition: glext.h:11719
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI D3DXCreateFontIndirectA(IDirect3DDevice9 *device, const D3DXFONT_DESCA *desc, ID3DXFont **font)
Definition: font.c:477
static LPTEXTMETRICW LONG * height
Definition: font.c:42
GLenum GLint GLint * precision
Definition: glext.h:7539
int quality
Definition: jpeglib.h:991
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
Definition: lstring.c:100

◆ D3DXCreateFontIndirectA()

HRESULT WINAPI D3DXCreateFontIndirectA ( struct IDirect3DDevice9 *  device,
const D3DXFONT_DESCA desc,
struct ID3DXFont **  font 
)

Definition at line 477 of file font.c.

478 {
479  D3DXFONT_DESCW widedesc;
480 
481  if( !device || !desc || !font ) return D3DERR_INVALIDCALL;
482 
483  /* Copy everything but the last structure member. This requires the
484  two D3DXFONT_DESC structures to be equal until the FaceName member */
485  memcpy(&widedesc, desc, FIELD_OFFSET(D3DXFONT_DESCA, FaceName));
486  MultiByteToWideChar(CP_ACP, 0, desc->FaceName, -1, widedesc.FaceName, ARRAY_SIZE(widedesc.FaceName));
487  return D3DXCreateFontIndirectW(device, &widedesc, font);
488 }
Definition: mk_font.cpp:20
#define CP_ACP
Definition: compat.h:99
#define D3DERR_INVALIDCALL
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
HRESULT WINAPI D3DXCreateFontIndirectW(IDirect3DDevice9 *device, const D3DXFONT_DESCW *desc, ID3DXFont **font)
Definition: font.c:493
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
WCHAR FaceName[LF_FACESIZE]
Definition: d3dx9core.h:122
#define ARRAY_SIZE(a)
Definition: main.h:24
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:254
#define MultiByteToWideChar
Definition: compat.h:100

Referenced by D3DXCreateFontA().

◆ D3DXCreateFontIndirectW()

HRESULT WINAPI D3DXCreateFontIndirectW ( struct IDirect3DDevice9 *  device,
const D3DXFONT_DESCW desc,
struct ID3DXFont **  font 
)

Definition at line 493 of file font.c.

494 {
497  struct d3dx_font *object;
498  IDirect3D9 *d3d;
499  HRESULT hr;
500 
501  TRACE("(%p, %p, %p)\n", device, desc, font);
502 
503  if (!device || !desc || !font) return D3DERR_INVALIDCALL;
504 
505  TRACE("desc: %d %d %d %d %d %d %d %d %d %s\n", desc->Height, desc->Width, desc->Weight, desc->MipLevels, desc->Italic,
506  desc->CharSet, desc->OutputPrecision, desc->Quality, desc->PitchAndFamily, debugstr_w(desc->FaceName));
507 
508  /* The device MUST support D3DFMT_A8R8G8B8 */
513  if (FAILED(hr))
514  {
515  IDirect3D9_Release(d3d);
516  return D3DXERR_INVALIDDATA;
517  }
518  IDirect3D9_Release(d3d);
519 
520  object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct d3dx_font));
521  if (!object)
522  {
523  *font = NULL;
524  return E_OUTOFMEMORY;
525  }
526  object->ID3DXFont_iface.lpVtbl = &D3DXFont_Vtbl;
527  object->ref = 1;
528  object->device = device;
529  object->desc = *desc;
530 
531  object->hdc = CreateCompatibleDC(NULL);
532  if (!object->hdc)
533  {
534  HeapFree(GetProcessHeap(), 0, object);
535  return D3DXERR_INVALIDDATA;
536  }
537 
538  object->hfont = CreateFontW(desc->Height, desc->Width, 0, 0, desc->Weight, desc->Italic, FALSE, FALSE, desc->CharSet,
539  desc->OutputPrecision, CLIP_DEFAULT_PRECIS, desc->Quality, desc->PitchAndFamily, desc->FaceName);
540  if (!object->hfont)
541  {
542  DeleteDC(object->hdc);
543  HeapFree(GetProcessHeap(), 0, object);
544  return D3DXERR_INVALIDDATA;
545  }
546  SelectObject(object->hdc, object->hfont);
547  SetTextColor(object->hdc, 0x00ffffff);
548  SetBkColor(object->hdc, 0x00000000);
549 
551  *font = &object->ID3DXFont_iface;
552 
553  return D3D_OK;
554 }
#define IDirect3D9_CheckDeviceFormat(p, a, b, c, d, e, f)
Definition: d3d9.h:229
HRESULT hr
Definition: shlfolder.c:183
#define IDirect3DDevice9_GetCreationParameters(p, a)
Definition: d3d9.h:1516
Definition: mk_font.cpp:20
#define D3DERR_INVALIDCALL
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
Definition: font.c:28
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
Definition: dc.c:975
#define IDirect3D9_Release(p)
Definition: d3d9.h:220
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
#define debugstr_w
Definition: kernel32.h:32
#define CLIP_DEFAULT_PRECIS
Definition: wingdi.h:425
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
IDirect3DDevice9 * device
Definition: font.c:33
smooth NULL
Definition: ftsmooth.c:416
#define IDirect3DDevice9_GetDisplayMode(p, a, b)
Definition: d3d9.h:1515
#define IDirect3DDevice9_GetDirect3D(p, a)
Definition: d3d9.h:1513
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:77
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
static const ID3DXFontVtbl D3DXFont_Vtbl
Definition: font.c:405
GLenum mode
Definition: glext.h:6217
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
Definition: text.c:884
#define D3D_OK
Definition: d3d.h:106
BOOL WINAPI DeleteDC(_In_ HDC)
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
#define HeapFree(x, y, z)
Definition: compat.h:394
void * object
Definition: jmemsys.h:48
HFONT WINAPI CreateFontW(int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, DWORD fnItalic, DWORD fdwUnderline, DWORD fdwStrikeOut, DWORD fdwCharSet, DWORD fdwOutputPrecision, DWORD fdwClipPrecision, DWORD fdwQuality, DWORD fdwPitchAndFamily, LPCWSTR lpszFace)
Definition: font.c:1894

Referenced by D3DXCreateFontIndirectA(), and D3DXCreateFontW().

◆ D3DXCreateFontW()

HRESULT WINAPI D3DXCreateFontW ( struct IDirect3DDevice9 *  device,
INT  height,
UINT  width,
UINT  weight,
UINT  miplevels,
BOOL  italic,
DWORD  charset,
DWORD  precision,
DWORD  quality,
DWORD  pitchandfamily,
const WCHAR facename,
struct ID3DXFont **  font 
)

Definition at line 452 of file font.c.

454 {
456 
457  if( !device || !font ) return D3DERR_INVALIDCALL;
458 
459  desc.Height=height;
460  desc.Width=width;
461  desc.Weight=weight;
462  desc.MipLevels=miplevels;
463  desc.Italic=italic;
464  desc.CharSet=charset;
465  desc.OutputPrecision=precision;
466  desc.Quality=quality;
467  desc.PitchAndFamily=pitchandfamily;
468  if(facename != NULL) strcpyW(desc.FaceName, facename);
469  else desc.FaceName[0] = '\0';
470 
472 }
GLint GLint GLsizei width
Definition: gl.h:1546
CFF_Charset charset
Definition: cffcmap.c:138
Definition: mk_font.cpp:20
#define D3DERR_INVALIDCALL
GLuint GLuint GLfloat weight
Definition: glext.h:11719
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI D3DXCreateFontIndirectW(IDirect3DDevice9 *device, const D3DXFONT_DESCW *desc, ID3DXFont **font)
Definition: font.c:493
static LPTEXTMETRICW LONG * height
Definition: font.c:42
GLenum GLint GLint * precision
Definition: glext.h:7539
int quality
Definition: jpeglib.h:991
WINE_UNICODE_INLINE WCHAR * strcpyW(WCHAR *dst, const WCHAR *src)
Definition: unicode.h:219

◆ D3DXCreateLine()

HRESULT WINAPI D3DXCreateLine ( struct IDirect3DDevice9 *  device,
struct ID3DXLine **  line 
)

Definition at line 295 of file line.c.

296 {
297  struct d3dx9_line *object;
298 
299  TRACE("device %p, line %p.\n", device, line);
300 
301  if (!device || !line)
302  return D3DERR_INVALIDCALL;
303 
304  if (!(object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object))))
305  return E_OUTOFMEMORY;
306 
307  object->ID3DXLine_iface.lpVtbl = &d3dx9_line_vtbl;
308  object->ref = 1;
309  object->device = device;
311 
312  *line = &object->ID3DXLine_iface;
313 
314  return D3D_OK;
315 }
#define D3DERR_INVALIDCALL
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
Definition: parser.c:48
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static const struct ID3DXLineVtbl d3dx9_line_vtbl
Definition: line.c:271
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
#define D3D_OK
Definition: d3d.h:106
IDirect3DDevice9 * device
Definition: line.c:32
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
void * object
Definition: jmemsys.h:48

◆ D3DXCreateRenderToEnvMap()

HRESULT WINAPI D3DXCreateRenderToEnvMap ( struct IDirect3DDevice9 *  device,
UINT  size,
UINT  miplevels,
D3DFORMAT  format,
BOOL  stencil,
D3DFORMAT  stencil_format,
struct ID3DXRenderToEnvMap **  rtem 
)

Definition at line 747 of file render.c.

754 {
755  HRESULT hr;
756  struct render_to_envmap *render;
757 
758  TRACE("(%p, %u, %u, %#x, %d, %#x, %p)\n", device, size, mip_levels,
759  format, depth_stencil, depth_stencil_format, out);
760 
761  if (!device || !out) return D3DERR_INVALIDCALL;
762 
763  hr = D3DXCheckTextureRequirements(device, &size, &size, &mip_levels,
765  if (FAILED(hr)) return hr;
766 
767  render = HeapAlloc(GetProcessHeap(), 0, sizeof(struct render_to_envmap));
768  if (!render) return E_OUTOFMEMORY;
769 
770  render->ID3DXRenderToEnvMap_iface.lpVtbl = &render_to_envmap_vtbl;
771  render->ref = 1;
772 
773  render->desc.Size = size;
774  render->desc.MipLevels = mip_levels;
775  render->desc.Format = format;
776  render->desc.DepthStencil = depth_stencil;
777  render->desc.DepthStencilFormat = depth_stencil_format;
778 
779  render->state = INITIAL;
780  render->render_target = NULL;
781  render->depth_stencil = NULL;
782  render->dst_cube_texture = NULL;
783 
784  hr = device_state_init(device, &render->previous_device_state);
785  if (FAILED(hr))
786  {
788  return hr;
789  }
790 
792  render->device = device;
793 
794  *out = &render->ID3DXRenderToEnvMap_iface;
795  return D3D_OK;
796 }
HRESULT hr
Definition: shlfolder.c:183
HRESULT WINAPI D3DXCheckTextureRequirements(struct IDirect3DDevice9 *device, UINT *width, UINT *height, UINT *miplevels, DWORD usage, D3DFORMAT *format, D3DPOOL pool)
Definition: texture.c:209
#define D3DERR_INVALIDCALL
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
IDirect3DSurface9 * depth_stencil
Definition: render.c:444
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
smooth NULL
Definition: ftsmooth.c:416
static const ID3DXRenderToEnvMapVtbl render_to_envmap_vtbl
Definition: render.c:728
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:77
#define D3DUSAGE_RENDERTARGET
Definition: d3d8types.h:91
static void render(void)
Definition: ssstars.c:272
static FILE * out
Definition: regtests2xml.c:44
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
static HRESULT device_state_init(IDirect3DDevice9 *device, struct device_state *state)
Definition: render.c:35
#define D3D_OK
Definition: d3d.h:106
IDirect3DDevice9 * device
Definition: render.c:434
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ D3DXCreateRenderToSurface()

HRESULT WINAPI D3DXCreateRenderToSurface ( struct IDirect3DDevice9 *  device,
UINT  width,
UINT  height,
D3DFORMAT  format,
BOOL  stencil,
D3DFORMAT  stencil_format,
struct ID3DXRenderToSurface **  rts 
)

Definition at line 374 of file render.c.

381 {
382  HRESULT hr;
383  struct render_to_surface *render;
384 
385  TRACE("(%p, %u, %u, %#x, %d, %#x, %p)\n", device, width, height, format,
386  depth_stencil, depth_stencil_format, out);
387 
388  if (!device || !out) return D3DERR_INVALIDCALL;
389 
390  render = HeapAlloc(GetProcessHeap(), 0, sizeof(struct render_to_surface));
391  if (!render) return E_OUTOFMEMORY;
392 
393  render->ID3DXRenderToSurface_iface.lpVtbl = &render_to_surface_vtbl;
394  render->ref = 1;
395 
396  render->desc.Width = width;
397  render->desc.Height = height;
398  render->desc.Format = format;
399  render->desc.DepthStencil = depth_stencil;
400  render->desc.DepthStencilFormat = depth_stencil_format;
401 
402  render->dst_surface = NULL;
403  render->render_target = NULL;
404  render->depth_stencil = NULL;
405 
406  hr = device_state_init(device, &render->previous_state);
407  if (FAILED(hr))
408  {
410  return hr;
411  }
412 
414  render->device = device;
415 
416  *out = &render->ID3DXRenderToSurface_iface;
417  return D3D_OK;
418 }
IDirect3DDevice9 * device
Definition: render.c:115
GLint GLint GLsizei width
Definition: gl.h:1546
HRESULT hr
Definition: shlfolder.c:183
static const ID3DXRenderToSurfaceVtbl render_to_surface_vtbl
Definition: render.c:359
#define D3DERR_INVALIDCALL
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
IDirect3DSurface9 * depth_stencil
Definition: render.c:121
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:77
static void render(void)
Definition: ssstars.c:272
static FILE * out
Definition: regtests2xml.c:44
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
static HRESULT device_state_init(IDirect3DDevice9 *device, struct device_state *state)
Definition: render.c:35
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define D3D_OK
Definition: d3d.h:106
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ D3DXCreateSprite()

HRESULT WINAPI D3DXCreateSprite ( struct IDirect3DDevice9 *  device,
struct ID3DXSprite **  sprite 
)

Definition at line 557 of file sprite.c.

558 {
559  struct d3dx9_sprite *object;
560  D3DCAPS9 caps;
561 
562  TRACE("device %p, sprite %p.\n", device, sprite);
563 
564  if(device==NULL || sprite==NULL) return D3DERR_INVALIDCALL;
565 
566  if (!(object=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object))))
567  {
568  *sprite = NULL;
569  return E_OUTOFMEMORY;
570  }
571  object->ID3DXSprite_iface.lpVtbl = &d3dx9_sprite_vtbl;
572  object->ref=1;
573  object->device=device;
574  IUnknown_AddRef(device);
575 
576  object->vdecl=NULL;
577  object->stateblock=NULL;
578 
579  D3DXMatrixIdentity(&object->transform);
580  D3DXMatrixIdentity(&object->view);
581 
583  object->texfilter_caps=caps.TextureFilterCaps;
584  object->maxanisotropy=caps.MaxAnisotropy;
585  object->alphacmp_caps=caps.AlphaCmpCaps;
586 
587  ID3DXSprite_OnResetDevice(&object->ID3DXSprite_iface);
588 
589  object->sprites=NULL;
590  object->allocated_sprites=0;
591  *sprite=&object->ID3DXSprite_iface;
592 
593  return D3D_OK;
594 }
#define D3DERR_INVALIDCALL
DWORD TextureFilterCaps
Definition: d3d9caps.h:280
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
IDirect3DDevice9 * device
Definition: sprite.c:53
DWORD AlphaCmpCaps
Definition: d3d9caps.h:277
Definition: sprite.c:37
#define D3D_OK
Definition: d3d.h:106
#define IDirect3DDevice9_GetDeviceCaps(p, a)
Definition: d3d9.h:1514
#define HEAP_ZERO_MEMORY
Definition: compat.h:123
static const ID3DXSpriteVtbl d3dx9_sprite_vtbl
Definition: sprite.c:539
DWORD MaxAnisotropy
Definition: d3d9caps.h:291
#define ID3DXSprite_OnResetDevice(p)
Definition: d3dx9core.h:454
void * object
Definition: jmemsys.h:48

Referenced by ID3DXFontImpl_DrawTextW().

◆ D3DXDebugMute()

BOOL WINAPI D3DXDebugMute ( BOOL  mute)

Definition at line 299 of file util.c.

300 {
301  return FALSE;
302 }

◆ D3DXGetDriverLevel()

UINT WINAPI D3DXGetDriverLevel ( struct IDirect3DDevice9 *  device)

Definition at line 308 of file util.c.

309 {
310  return 900;
311 }

◆ DECLARE_INTERFACE_() [1/6]

DECLARE_INTERFACE_ ( ID3DXBuffer  ,
IUnknown   
)

Definition at line 67 of file d3dx9core.h.

68 {
69  /*** IUnknown methods ***/
73  /*** ID3DXBuffer methods ***/
74  STDMETHOD_(void *, GetBufferPointer)(THIS) PURE;
75  STDMETHOD_(DWORD, GetBufferSize)(THIS) PURE;
76 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/6]

DECLARE_INTERFACE_ ( ID3DXFont  ,
IUnknown   
)

Definition at line 129 of file d3dx9core.h.

130 {
131  /*** IUnknown methods ***/
135  /*** ID3DXFont methods ***/
136  STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE;
137  STDMETHOD(GetDescA)(THIS_ D3DXFONT_DESCA *desc) PURE;
138  STDMETHOD(GetDescW)(THIS_ D3DXFONT_DESCW *desc) PURE;
141 
143  STDMETHOD(GetGlyphData)(THIS_ UINT glyph, struct IDirect3DTexture9 **texture,
144  RECT *blackbox, POINT *cellinc) PURE;
145 
146  STDMETHOD(PreloadCharacters)(THIS_ UINT first, UINT last) PURE;
147  STDMETHOD(PreloadGlyphs)(THIS_ UINT first, UINT last) PURE;
148  STDMETHOD(PreloadTextA)(THIS_ const char *string, INT count) PURE;
149  STDMETHOD(PreloadTextW)(THIS_ const WCHAR *string, INT count) PURE;
150 
151  STDMETHOD_(INT, DrawTextA)(THIS_ struct ID3DXSprite *sprite, const char *string,
153  STDMETHOD_(INT, DrawTextW)(THIS_ struct ID3DXSprite *sprite, const WCHAR *string,
155 
156  STDMETHOD(OnLostDevice)(THIS) PURE;
157  STDMETHOD(OnResetDevice)(THIS) PURE;
158 };
#define REFIID
Definition: guiddef.h:113
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
Definition: text.c:221
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
Definition: glext.h:11745
#define THIS
Definition: basetyps.h:66
HDC WINAPI GetDC(_In_opt_ HWND)
POINT last
Definition: font.c:46
REFIID riid
Definition: precomp.h:44
GLuint GLuint GLsizei count
Definition: gl.h:1545
const GLint * first
Definition: glext.h:5794
static HDC
Definition: imagelist.c:92
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
int32_t INT
Definition: typedefs.h:56
& rect
Definition: startmenu.cpp:1413
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint color
Definition: glext.h:6243
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
BOOL WINAPI GetTextMetricsA(_In_ HDC, _Out_ LPTEXTMETRICA)
Definition: text.c:200
__wchar_t WCHAR
Definition: xmlstorage.h:180
GLenum GLuint texture
Definition: glext.h:6295
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
char string[160]
Definition: util.h:11
Definition: sprite.c:37
INT WINAPI DrawTextA(HDC hdc, LPCSTR str, INT count, LPRECT rect, UINT flags)
Definition: font.c:373
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
Definition: defwnd.c:17

◆ DECLARE_INTERFACE_() [3/6]

DECLARE_INTERFACE_ ( ID3DXLine  ,
IUnknown   
)

Definition at line 211 of file d3dx9core.h.

212 {
213  /*** IUnknown methods ***/
217 
218  /*** ID3DXLine methods ***/
219  STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE;
220 
222  STDMETHOD(Draw)(THIS_ const D3DXVECTOR2 *vertexlist, DWORD vertexlistcount, D3DCOLOR color) PURE;
223  STDMETHOD(DrawTransform)(THIS_ const D3DXVECTOR3 *vertexlist, DWORD vertexlistcount,
225  STDMETHOD(SetPattern)(THIS_ DWORD pattern) PURE;
226  STDMETHOD_(DWORD, GetPattern)(THIS) PURE;
227  STDMETHOD(SetPatternScale)(THIS_ FLOAT scale) PURE;
228  STDMETHOD_(FLOAT, GetPatternScale)(THIS) PURE;
229  STDMETHOD(SetWidth)(THIS_ FLOAT width) PURE;
230  STDMETHOD_(FLOAT, GetWidth)(THIS) PURE;
231  STDMETHOD(SetAntialias)(THIS_ BOOL antialias) PURE;
232  STDMETHOD_(BOOL, GetAntialias)(THIS) PURE;
233  STDMETHOD(SetGLLines)(THIS_ BOOL gl_lines) PURE;
234  STDMETHOD_(BOOL, GetGLLines)(THIS) PURE;
235  STDMETHOD(End)(THIS) PURE;
236 
237  STDMETHOD(OnLostDevice)(THIS) PURE;
238  STDMETHOD(OnResetDevice)(THIS) PURE;
239 };
GLint GLint GLsizei width
Definition: gl.h:1546
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
void Draw(HDC aDc)
Definition: magnifier.c:359
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint color
Definition: glext.h:6243
Definition: devices.h:37
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
float FLOAT
Definition: typedefs.h:67
unsigned int ULONG
Definition: retypes.h:1
GLuint GLenum GLenum transform
Definition: glext.h:9407
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN Begin
Definition: acpixf.h:1275
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLubyte * pattern
Definition: glext.h:7787

◆ DECLARE_INTERFACE_() [4/6]

DECLARE_INTERFACE_ ( ID3DXRenderToEnvMap  ,
IUnknown   
)

Definition at line 300 of file d3dx9core.h.

301 {
302  /*** IUnknown methods ***/
306 
307  /*** ID3DXRenderToEnvMap methods ***/
308  STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE;
309  STDMETHOD(GetDesc)(THIS_ D3DXRTE_DESC *desc) PURE;
310 
311  STDMETHOD(BeginCube)(THIS_ struct IDirect3DCubeTexture9 *cubetex) PURE;
312  STDMETHOD(BeginSphere)(THIS_ struct IDirect3DTexture9 *tex) PURE;
313  STDMETHOD(BeginHemisphere)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE;
314  STDMETHOD(BeginParabolic)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE;
315 
316  STDMETHOD(Face)(THIS_ D3DCUBEMAP_FACES face, DWORD mipfilter) PURE;
317  STDMETHOD(End)(THIS_ DWORD mipfilter) PURE;
318 
319  STDMETHOD(OnLostDevice)(THIS) PURE;
320  STDMETHOD(OnResetDevice)(THIS) PURE;
321 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
WORD face[3]
Definition: mesh.c:4747
#define STDMETHOD(m)
Definition: basetyps.h:62
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [5/6]

DECLARE_INTERFACE_ ( ID3DXRenderToSurface  ,
IUnknown   
)

Definition at line 368 of file d3dx9core.h.

369 {
370  /*** IUnknown methods ***/
374  /*** ID3DXRenderToSurface methods ***/
375  STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE;
376  STDMETHOD(GetDesc)(THIS_ D3DXRTS_DESC *desc) PURE;
377 
378  STDMETHOD(BeginScene)(THIS_ struct IDirect3DSurface9 *surface, const D3DVIEWPORT9 *viewport) PURE;
379  STDMETHOD(EndScene)(THIS_ DWORD mipfilter) PURE;
380 
381  STDMETHOD(OnLostDevice)(THIS) PURE;
382  STDMETHOD(OnResetDevice)(THIS) PURE;
383 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
Definition: devices.h:37
const struct builtin_class_descr * desc
Definition: regcontrol.c:48
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [6/6]

DECLARE_INTERFACE_ ( ID3DXSprite  ,
IUnknown   
)

Definition at line 413 of file d3dx9core.h.

414 {
415  /*** IUnknown methods ***/
419  /*** ID3DXSprite methods ***/
420  STDMETHOD(GetDevice)(THIS_ struct IDirect3DDevice9 **device) PURE;
421 
423  STDMETHOD(SetTransform)(THIS_ const D3DXMATRIX *transform) PURE;
424  STDMETHOD(SetWorldViewRH)(THIS_ const D3DXMATRIX *world, const D3DXMATRIX *view) PURE;
425  STDMETHOD(SetWorldViewLH)(THIS_ const D3DXMATRIX *world, const D3DXMATRIX *view) PURE;
426 
428  STDMETHOD(Draw)(THIS_ struct IDirect3DTexture9 *texture, const RECT *rect,
429  const D3DXVECTOR3 *center, const D3DXVECTOR3 *position, D3DCOLOR color) PURE;
431  STDMETHOD(End)(THIS) PURE;
432 
433  STDMETHOD(OnLostDevice)(THIS) PURE;
434  STDMETHOD(OnResetDevice)(THIS) PURE;
435 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
void Draw(HDC aDc)
Definition: magnifier.c:359
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
& rect
Definition: startmenu.cpp:1413
#define STDMETHOD(m)
Definition: basetyps.h:62
GLuint color
Definition: glext.h:6243
Definition: devices.h:37
GLenum GLuint texture
Definition: glext.h:6295
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
BOOL WINAPI GetTransform(HDC, DWORD, XFORM *)
unsigned int ULONG
Definition: retypes.h:1
static IOleDocumentView * view
Definition: activex.c:1749
GLuint GLenum GLenum transform
Definition: glext.h:9407
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN Begin
Definition: acpixf.h:1275
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
void * object
Definition: jmemsys.h:48

◆ DEFINE_GUID() [1/6]

DEFINE_GUID ( IID_ID3DXBuffer  ,
0x8ba5fb08  ,
0x5195  ,
0x40e2  ,
0xac  ,
0x58  ,
0xd  ,
0x98  ,
0x9c  ,
0x3a  ,
0x1  ,
0x2   
)

◆ DEFINE_GUID() [2/6]

DEFINE_GUID ( IID_ID3DXFont  ,
0xd79dbb70  ,
0x5f21  ,
0x4d36  ,
0xbb  ,
0xc2  ,
0xff  ,
0x52  ,
0x5c  ,
0x21  ,
0x3c  ,
0xdc   
)

◆ DEFINE_GUID() [3/6]

DEFINE_GUID ( IID_ID3DXLine  ,
0xd379ba7f  ,
0x9042  ,
0x4ac4  ,
0x9f  ,
0x5e  ,
0x58  ,
0x19  ,
0x2a  ,
0x4c  ,
0x6b  ,
0xd8   
)

◆ DEFINE_GUID() [4/6]

DEFINE_GUID ( IID_ID3DXRenderToEnvMap  ,
0x313f1b4b  ,
0xc7b0  ,
0x4fa2  ,
0x9d  ,
0x9d  ,
0x8d  ,
0x38  ,
0xb  ,
0x64  ,
0x38  ,
0x5e   
)

◆ DEFINE_GUID() [5/6]

DEFINE_GUID ( IID_ID3DXRenderToSurface  ,
0x6985f346  ,
0x2c3d  ,
0x43b3  ,
0xbe  ,
0x8b  ,
0xda  ,
0xae  ,
0x8a  ,
0x3  ,
0xd8  ,
0x94   
)

◆ DEFINE_GUID() [6/6]

DEFINE_GUID ( IID_ID3DXSprite  ,
0xba0b762d  ,
0x7d28  ,
0x43ec  ,
0xb9  ,
0xdc  ,
0x2f  ,
0x84  ,
0x44  ,
0x3b  ,
0x6  ,
0x14   
)