ReactOS  0.4.15-dev-3181-g4acf100
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 46 of file main.c.

47 {
48  return d3d_sdk_ver == D3D_SDK_VERSION && d3dx_sdk_ver == D3DX_SDK_VERSION;
49 }
#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 844 of file font.c.

847 {
849 
850  if( !device || !font ) return D3DERR_INVALIDCALL;
851 
852  desc.Height=height;
853  desc.Width=width;
854  desc.Weight=weight;
855  desc.MipLevels=miplevels;
856  desc.Italic=italic;
857  desc.CharSet=charset;
858  desc.OutputPrecision=precision;
859  desc.Quality=quality;
860  desc.PitchAndFamily=pitchandfamily;
861  if(facename != NULL) lstrcpyA(desc.FaceName, facename);
862  else desc.FaceName[0] = '\0';
863 
865 }
GLint GLint GLsizei width
Definition: gl.h:1546
CFF_Charset charset
Definition: cffcmap.c:138
Definition: mk_font.cpp:20
#define D3DERR_INVALIDCALL
Definition: devices.h:37
static const WCHAR desc[]
Definition: protectdata.c:36
HRESULT WINAPI D3DXCreateFontIndirectA(IDirect3DDevice9 *device, const D3DXFONT_DESCA *desc, ID3DXFont **font)
Definition: font.c:892
static LPTEXTMETRICW LONG * height
Definition: font.c:42
GLenum GLint GLint * precision
Definition: glext.h:7539
int quality
Definition: jpeglib.h:992
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
Definition: lstring.c:100
weight
Definition: sortkey.c:156
#define NULL
Definition: types.h:112

Referenced by test_ID3DXFont().

◆ D3DXCreateFontIndirectA()

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

Definition at line 892 of file font.c.

893 {
894  D3DXFONT_DESCW widedesc;
895 
896  if( !device || !desc || !font ) return D3DERR_INVALIDCALL;
897 
898  /* Copy everything but the last structure member. This requires the
899  two D3DXFONT_DESC structures to be equal until the FaceName member */
900  memcpy(&widedesc, desc, FIELD_OFFSET(D3DXFONT_DESCA, FaceName));
901  MultiByteToWideChar(CP_ACP, 0, desc->FaceName, -1, widedesc.FaceName, ARRAY_SIZE(widedesc.FaceName));
902  return D3DXCreateFontIndirectW(device, &widedesc, font);
903 }
Definition: mk_font.cpp:20
#define CP_ACP
Definition: compat.h:109
#define D3DERR_INVALIDCALL
Definition: devices.h:37
static const WCHAR desc[]
Definition: protectdata.c:36
HRESULT WINAPI D3DXCreateFontIndirectW(IDirect3DDevice9 *device, const D3DXFONT_DESCW *desc, ID3DXFont **font)
Definition: font.c:908
#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:255
#define MultiByteToWideChar
Definition: compat.h:110

Referenced by D3DXCreateFontA(), and test_ID3DXFont().

◆ D3DXCreateFontIndirectW()

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

Definition at line 908 of file font.c.

909 {
911  struct d3dx_font *object;
913  IDirect3D9 *d3d;
914  HRESULT hr;
915 
916  TRACE("(%p, %p, %p)\n", device, desc, font);
917 
918  if( !device || !desc || !font ) return D3DERR_INVALIDCALL;
919 
920  /* the device MUST support D3DFMT_A8R8G8B8 */
925  if (FAILED(hr))
926  {
927  IDirect3D9_Release(d3d);
928  return D3DXERR_INVALIDDATA;
929  }
930  IDirect3D9_Release(d3d);
931 
932  object = heap_alloc_zero(sizeof(*object));
933  if (!object)
934  {
935  *font = NULL;
936  return E_OUTOFMEMORY;
937  }
938  object->ID3DXFont_iface.lpVtbl = &D3DXFont_Vtbl;
939  object->ref = 1;
940  object->device = device;
941  object->desc = *desc;
942 
943  object->hdc = CreateCompatibleDC(NULL);
944  if (!object->hdc)
945  {
946  heap_free(object);
947  return D3DXERR_INVALIDDATA;
948  }
949 
950  object->hfont = CreateFontW(desc->Height, desc->Width, 0, 0, desc->Weight, desc->Italic, FALSE, FALSE, desc->CharSet,
951  desc->OutputPrecision, CLIP_DEFAULT_PRECIS, desc->Quality, desc->PitchAndFamily, desc->FaceName);
952  if (!object->hfont)
953  {
954  DeleteDC(object->hdc);
955  heap_free(object);
956  return D3DXERR_INVALIDDATA;
957  }
958  SelectObject(object->hdc, object->hfont);
959 
960  wine_rb_init(&object->glyph_tree, glyph_rb_compare);
961 
962  if (!GetTextMetricsW(object->hdc, &object->metrics))
963  {
964  DeleteObject(object->hfont);
965  DeleteDC(object->hdc);
966  heap_free(object);
967  return D3DXERR_INVALIDDATA;
968  }
969 
970  object->glyph_size = make_pow2(object->metrics.tmHeight);
971 
972  object->texture_size = object->glyph_size;
973  if (object->glyph_size < 256)
974  object->texture_size = min(256, object->texture_size * 16);
975 
976  object->glyphs_per_texture = object->texture_size * object->texture_size
977  / (object->glyph_size * object->glyph_size);
978  object->texture_pos = object->glyphs_per_texture;
979 
981  *font = &object->ID3DXFont_iface;
982 
983  return D3D_OK;
984 }
#define IDirect3D9_CheckDeviceFormat(p, a, b, c, d, e, f)
Definition: d3d9.h:229
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
Definition: text.c:221
coclass MSXML2::XSLTemplate40 object
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:1499
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
Definition: font.c:41
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
static int glyph_rb_compare(const void *key, const struct wine_rb_entry *entry)
Definition: font.c:61
FxDevice * device
#define IDirect3D9_Release(p)
Definition: d3d9.h:220
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define FALSE
Definition: types.h:117
Definition: devices.h:37
static const WCHAR desc[]
Definition: protectdata.c:36
#define CLIP_DEFAULT_PRECIS
Definition: wingdi.h:425
#define IDirect3DDevice9_GetDisplayMode(p, a, b)
Definition: d3d9.h:1515
static void wine_rb_init(struct wine_rb_tree *tree, wine_rb_compare_func_t compare)
Definition: rbtree.h:179
#define IDirect3DDevice9_GetDirect3D(p, a)
Definition: d3d9.h:1513
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:79
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
static const ID3DXFontVtbl D3DXFont_Vtbl
Definition: font.c:820
static uint32_t make_pow2(uint32_t num)
GLenum mode
Definition: glext.h:6217
#define D3D_OK
Definition: d3d.h:106
BOOL WINAPI DeleteDC(_In_ HDC)
#define min(a, b)
Definition: monoChain.cc:55
#define NULL
Definition: types.h:112
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
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 867 of file font.c.

869 {
871 
872  if( !device || !font ) return D3DERR_INVALIDCALL;
873 
874  desc.Height=height;
875  desc.Width=width;
876  desc.Weight=weight;
877  desc.MipLevels=miplevels;
878  desc.Italic=italic;
879  desc.CharSet=charset;
880  desc.OutputPrecision=precision;
881  desc.Quality=quality;
882  desc.PitchAndFamily=pitchandfamily;
883  if(facename != NULL) lstrcpyW(desc.FaceName, facename);
884  else desc.FaceName[0] = '\0';
885 
887 }
GLint GLint GLsizei width
Definition: gl.h:1546
CFF_Charset charset
Definition: cffcmap.c:138
Definition: mk_font.cpp:20
#define D3DERR_INVALIDCALL
Definition: devices.h:37
static const WCHAR desc[]
Definition: protectdata.c:36
HRESULT WINAPI D3DXCreateFontIndirectW(IDirect3DDevice9 *device, const D3DXFONT_DESCW *desc, ID3DXFont **font)
Definition: font.c:908
static LPTEXTMETRICW LONG * height
Definition: font.c:42
GLenum GLint GLint * precision
Definition: glext.h:7539
int quality
Definition: jpeglib.h:992
weight
Definition: sortkey.c:156
#define lstrcpyW
Definition: compat.h:608
#define NULL
Definition: types.h:112

◆ D3DXCreateLine()

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

Definition at line 297 of file line.c.

298 {
299  struct d3dx9_line *object;
300 
301  TRACE("device %p, line %p.\n", device, line);
302 
303  if (!device || !line)
304  return D3DERR_INVALIDCALL;
305 
306  if (!(object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object))))
307  return E_OUTOFMEMORY;
308 
309  object->ID3DXLine_iface.lpVtbl = &d3dx9_line_vtbl;
310  object->ref = 1;
311  object->device = device;
313 
314  *line = &object->ID3DXLine_iface;
315 
316  return D3D_OK;
317 }
coclass MSXML2::XSLTemplate40 object
#define D3DERR_INVALIDCALL
FxDevice * device
#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:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
static const struct ID3DXLineVtbl d3dx9_line_vtbl
Definition: line.c:273
#define IDirect3DDevice9_AddRef(p)
Definition: d3d9.h:1507
#define D3D_OK
Definition: d3d.h:106
#define HEAP_ZERO_MEMORY
Definition: compat.h:134

Referenced by test_create_line().

◆ D3DXCreateRenderToEnvMap()

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

Definition at line 749 of file render.c.

756 {
757  HRESULT hr;
758  struct render_to_envmap *render;
759 
760  TRACE("(%p, %u, %u, %#x, %d, %#x, %p)\n", device, size, mip_levels,
761  format, depth_stencil, depth_stencil_format, out);
762 
763  if (!device || !out) return D3DERR_INVALIDCALL;
764 
765  hr = D3DXCheckTextureRequirements(device, &size, &size, &mip_levels,
767  if (FAILED(hr)) return hr;
768 
769  render = HeapAlloc(GetProcessHeap(), 0, sizeof(struct render_to_envmap));
770  if (!render) return E_OUTOFMEMORY;
771 
772  render->ID3DXRenderToEnvMap_iface.lpVtbl = &render_to_envmap_vtbl;
773  render->ref = 1;
774 
775  render->desc.Size = size;
776  render->desc.MipLevels = mip_levels;
777  render->desc.Format = format;
778  render->desc.DepthStencil = depth_stencil;
779  render->desc.DepthStencilFormat = depth_stencil_format;
780 
781  render->state = INITIAL;
782  render->render_target = NULL;
783  render->depth_stencil = NULL;
784  render->dst_cube_texture = NULL;
785 
786  hr = device_state_init(device, &render->previous_device_state);
787  if (FAILED(hr))
788  {
790  return hr;
791  }
792 
794  render->device = device;
795 
796  *out = &render->ID3DXRenderToEnvMap_iface;
797  return D3D_OK;
798 }
HRESULT hr
Definition: shlfolder.c:183
#define D3DERR_INVALIDCALL
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
FxDevice * device
IDirect3DSurface9 * depth_stencil
Definition: render.c:446
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
static const ID3DXRenderToEnvMapVtbl render_to_envmap_vtbl
Definition: render.c:730
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
#define GetProcessHeap()
Definition: compat.h:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:79
#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:37
#define D3D_OK
Definition: d3d.h:106
#define NULL
Definition: types.h:112
HRESULT WINAPI D3DXCheckTextureRequirements(struct IDirect3DDevice9 *device, UINT *width, UINT *height, UINT *miplevels, DWORD usage, D3DFORMAT *format, D3DPOOL pool)
Definition: texture.c:412
#define HeapFree(x, y, z)
Definition: compat.h:594

Referenced by test_D3DXCreateRenderToEnvMap(), test_ID3DXRenderToEnvMap(), and test_ID3DXRenderToEnvMap_cube_map().

◆ D3DXCreateRenderToSurface()

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

Definition at line 376 of file render.c.

383 {
384  HRESULT hr;
385  struct render_to_surface *render;
386 
387  TRACE("(%p, %u, %u, %#x, %d, %#x, %p)\n", device, width, height, format,
388  depth_stencil, depth_stencil_format, out);
389 
390  if (!device || !out) return D3DERR_INVALIDCALL;
391 
392  render = HeapAlloc(GetProcessHeap(), 0, sizeof(struct render_to_surface));
393  if (!render) return E_OUTOFMEMORY;
394 
395  render->ID3DXRenderToSurface_iface.lpVtbl = &render_to_surface_vtbl;
396  render->ref = 1;
397 
398  render->desc.Width = width;
399  render->desc.Height = height;
400  render->desc.Format = format;
401  render->desc.DepthStencil = depth_stencil;
402  render->desc.DepthStencilFormat = depth_stencil_format;
403 
404  render->dst_surface = NULL;
405  render->render_target = NULL;
406  render->depth_stencil = NULL;
407 
408  hr = device_state_init(device, &render->previous_state);
409  if (FAILED(hr))
410  {
412  return hr;
413  }
414 
416  render->device = device;
417 
418  *out = &render->ID3DXRenderToSurface_iface;
419  return D3D_OK;
420 }
GLint GLint GLsizei width
Definition: gl.h:1546
HRESULT hr
Definition: shlfolder.c:183
static const ID3DXRenderToSurfaceVtbl render_to_surface_vtbl
Definition: render.c:361
#define D3DERR_INVALIDCALL
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
FxDevice * device
IDirect3DSurface9 * depth_stencil
Definition: render.c:123
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:79
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:37
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
#define D3D_OK
Definition: d3d.h:106
#define NULL
Definition: types.h:112
#define HeapFree(x, y, z)
Definition: compat.h:594

Referenced by check_ID3DXRenderToSurface(), test_D3DXCreateRenderToSurface(), test_ID3DXRenderToSurface(), and test_ID3DXRenderToSurface_device_state().

◆ D3DXCreateSprite()

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

Definition at line 569 of file sprite.c.

570 {
571  struct d3dx9_sprite *object;
572  D3DCAPS9 caps;
573 
574  TRACE("device %p, sprite %p.\n", device, sprite);
575 
576  if(device==NULL || sprite==NULL) return D3DERR_INVALIDCALL;
577 
578  if (!(object=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object))))
579  {
580  *sprite = NULL;
581  return E_OUTOFMEMORY;
582  }
583  object->ID3DXSprite_iface.lpVtbl = &d3dx9_sprite_vtbl;
584  object->ref=1;
585  object->device=device;
586  IUnknown_AddRef(device);
587 
588  object->vdecl=NULL;
589  object->stateblock=NULL;
590 
591  D3DXMatrixIdentity(&object->transform);
592  D3DXMatrixIdentity(&object->view);
593 
595  object->texfilter_caps=caps.TextureFilterCaps;
596  object->maxanisotropy=caps.MaxAnisotropy;
597  object->alphacmp_caps=caps.AlphaCmpCaps;
598 
599  ID3DXSprite_OnResetDevice(&object->ID3DXSprite_iface);
600 
601  object->sprites=NULL;
602  object->allocated_sprites=0;
603  *sprite=&object->ID3DXSprite_iface;
604 
605  return D3D_OK;
606 }
coclass MSXML2::XSLTemplate40 object
#define D3DERR_INVALIDCALL
DWORD TextureFilterCaps
Definition: d3d9caps.h:280
FxDevice * device
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
Definition: devices.h:37
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
DWORD AlphaCmpCaps
Definition: d3d9caps.h:277
Definition: sprite.c:39
#define D3D_OK
Definition: d3d.h:106
#define IDirect3DDevice9_GetDeviceCaps(p, a)
Definition: d3d9.h:1514
#define NULL
Definition: types.h:112
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
static const ID3DXSpriteVtbl d3dx9_sprite_vtbl
Definition: sprite.c:551
DWORD MaxAnisotropy
Definition: d3d9caps.h:291
#define ID3DXSprite_OnResetDevice(p)
Definition: d3dx9core.h:454

Referenced by ID3DXFontImpl_DrawTextW(), test_ID3DXFont(), and test_ID3DXSprite().

◆ D3DXDebugMute()

BOOL WINAPI D3DXDebugMute ( BOOL  mute)

Definition at line 303 of file util.c.

304 {
305  return FALSE;
306 }
#define FALSE
Definition: types.h:117

◆ D3DXGetDriverLevel()

UINT WINAPI D3DXGetDriverLevel ( struct IDirect3DDevice9 *  device)

Definition at line 312 of file util.c.

313 {
314  return 900;
315 }

◆ 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:118
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOLEAN Release
Definition: cdrom.h:920
#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:118
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
Definition: text.c:221
#define THIS_
Definition: basetyps.h:65
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
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
const GLint * first
Definition: glext.h:5794
static HDC
Definition: imagelist.c:92
int32_t INT
Definition: typedefs.h:58
& rect
Definition: startmenu.cpp:1413
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define STDMETHOD(m)
Definition: basetyps.h:62
FxDevice * device
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint color
Definition: glext.h:6243
static const WCHAR desc[]
Definition: protectdata.c:36
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
return pList GetDevice()
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:39
INT WINAPI DrawTextA(HDC hdc, LPCSTR str, INT count, LPRECT rect, UINT flags)
Definition: font.c:373
_In_ BOOLEAN Release
Definition: cdrom.h:920
#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:118
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
void Draw(HDC aDc)
Definition: magnifier.c:359
#define STDMETHOD(m)
Definition: basetyps.h:62
FxDevice * device
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint color
Definition: glext.h:6243
return pList GetDevice()
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOLEAN Release
Definition: cdrom.h:920
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
float FLOAT
Definition: typedefs.h:69
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:1297
#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:118
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
FxDevice * device
static const WCHAR desc[]
Definition: protectdata.c:36
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
return pList GetDevice()
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
WORD face[3]
Definition: mesh.c:4747
_In_ BOOLEAN Release
Definition: cdrom.h:920
#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:118
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
FxDevice * device
static const WCHAR desc[]
Definition: protectdata.c:36
return pList GetDevice()
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOLEAN Release
Definition: cdrom.h:920
#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:118
#define THIS_
Definition: basetyps.h:65
coclass MSXML2::XSLTemplate40 object
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
void Draw(HDC aDc)
Definition: magnifier.c:359
& rect
Definition: startmenu.cpp:1413
#define STDMETHOD(m)
Definition: basetyps.h:62
FxDevice * device
GLuint color
Definition: glext.h:6243
GLenum GLuint texture
Definition: glext.h:6295
return pList GetDevice()
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
_In_ BOOLEAN Release
Definition: cdrom.h:920
#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:1297
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ 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   
)