50 IUnknown_AddRef(iface);
90 TRACE(
"iface %p\n", iface);
99 TRACE(
"iface %p\n", iface);
124 ERR(
"Failed to allocate buffer memory\n");
140 WARN(
"Invalid buffer specified.\n");
151 WARN(
"Failed to initialize buffer, hr %#x.\n",
hr);
156 *
buffer = &
object->ID3DXBuffer_iface;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define D3DERR_INVALIDCALL
struct ID3DXBuffer ID3DXBuffer
static DWORD WINAPI ID3DXBufferImpl_GetBufferSize(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_AddRef(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_Release(ID3DXBuffer *iface)
static struct ID3DXBufferImpl * impl_from_ID3DXBuffer(ID3DXBuffer *iface)
static const struct ID3DXBufferVtbl ID3DXBufferImpl_Vtbl
HRESULT WINAPI D3DXCreateBuffer(DWORD size, ID3DXBuffer **buffer)
static HRESULT d3dx9_buffer_init(struct ID3DXBufferImpl *buffer, DWORD size)
static HRESULT WINAPI ID3DXBufferImpl_QueryInterface(ID3DXBuffer *iface, REFIID riid, void **ppobj)
static void *WINAPI ID3DXBufferImpl_GetBufferPointer(ID3DXBuffer *iface)
#define HeapFree(x, y, z)
#define IsEqualGUID(rguid1, rguid2)
ID3DXBuffer ID3DXBuffer_iface
#define CONTAINING_RECORD(address, type, field)