Go to the source code of this file.
◆ d3dx9_buffer_init()
Definition at line 115 of file core.c.
116{
120
123 {
124 ERR(
"Failed to allocate buffer memory\n");
126 }
127
129}
static const struct ID3DXBufferVtbl ID3DXBufferImpl_Vtbl
Referenced by D3DXCreateBuffer().
◆ D3DXCreateBuffer()
Definition at line 131 of file core.c.
132{
135
137
139 {
140 WARN(
"Invalid buffer specified.\n");
142 }
143
145 if (!object)
147
150 {
151 WARN(
"Failed to initialize buffer, hr %#x.\n",
hr);
154 }
155
156 *
buffer = &
object->ID3DXBuffer_iface;
157
159
161}
#define D3DERR_INVALIDCALL
static HRESULT d3dx9_buffer_init(struct ID3DXBufferImpl *buffer, DWORD size)
#define HeapFree(x, y, z)
Referenced by compact_mesh(), d3dx9_mesh_OptimizeInplace(), D3DXCreateBox(), D3DXCreateCylinder(), D3DXCreatePolygon(), D3DXCreateSphere(), D3DXCreateTorus(), D3DXDisassembleShader(), D3DXLoadMeshFromXInMemory(), D3DXLoadSkinMeshFromXof(), D3DXSaveSurfaceToFileInMemory(), generate_effects(), save_dds_surface_to_memory(), and test_ID3DXBuffer().
◆ ID3DXBufferImpl_AddRef()
Definition at line 60 of file core.c.
61{
64
66
68}
#define InterlockedIncrement
static struct ID3DXBufferImpl * impl_from_ID3DXBuffer(ID3DXBuffer *iface)
◆ ID3DXBufferImpl_GetBufferPointer()
Definition at line 86 of file core.c.
87{
89
90 TRACE(
"iface %p\n", iface);
91
93}
◆ ID3DXBufferImpl_GetBufferSize()
Definition at line 95 of file core.c.
96{
98
99 TRACE(
"iface %p\n", iface);
100
102}
◆ ID3DXBufferImpl_QueryInterface()
Definition at line 43 of file core.c.
44{
46
49 {
50 IUnknown_AddRef(iface);
51 *ppobj = iface;
53 }
54
56
58}
#define IsEqualGUID(rguid1, rguid2)
◆ ID3DXBufferImpl_Release()
Definition at line 70 of file core.c.
71{
74
76
78 {
81 }
82
84}
#define InterlockedDecrement
◆ impl_from_ID3DXBuffer()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
d3dx |
| ) |
|
◆ ID3DXBufferImpl_Vtbl
Initial value:=
{
}
static DWORD WINAPI ID3DXBufferImpl_GetBufferSize(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_AddRef(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_Release(ID3DXBuffer *iface)
static HRESULT WINAPI ID3DXBufferImpl_QueryInterface(ID3DXBuffer *iface, REFIID riid, void **ppobj)
static void *WINAPI ID3DXBufferImpl_GetBufferPointer(ID3DXBuffer *iface)
Definition at line 104 of file core.c.
Referenced by d3dx9_buffer_init().