DBG("This=%p riid=%p id=%s ppvObject=%p\n",
This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppvObject);
+ (void)guid_str;
+
if (!ppvObject) return E_POINTER;
do {
DBG("This=%p GUID=%s pData=%p SizeOfData=%u Flags=%x\n",
This, GUID_sprintf(guid_str, refguid), pData, SizeOfData, Flags);
+ (void)guid_str;
+
if (Flags & D3DSPD_IUNKNOWN)
user_assert(SizeOfData == sizeof(IUnknown *), D3DERR_INVALIDCALL);
DBG("This=%p GUID=%s pData=%p pSizeOfData=%p\n",
This, GUID_sprintf(guid_str, refguid), pData, pSizeOfData);
+ (void)guid_str;
+
header = util_hash_table_get(This->pdata, refguid);
if (!header) { return D3DERR_NOTFOUND; }
DBG("This=%p GUID=%s\n", This, GUID_sprintf(guid_str, refguid));
+ (void)guid_str;
+
header = util_hash_table_get(This->pdata, refguid);
if (!header)
return D3DERR_NOTFOUND;
DBG("This=%p riid=%p id=%s ppContainer=%p\n",
This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppContainer);
+ (void)guid_str;
+
if (!ppContainer) return E_POINTER;
/* Return device for OffscreenPlainSurface, DepthStencilSurface and RenderTarget */
DBG("This=%p riid=%p id=%s ppContainer=%p\n",
This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppContainer);
+ (void)guid_str;
+
if (!NineUnknown(This)->container)
return E_NOINTERFACE;
return NineUnknown_QueryInterface(NineUnknown(This)->container, riid, ppContainer);