-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2016-07-10 um 17:41 schrieb Aaryaman Vasishta:
static HRESULT WINAPI d3drm_device1_AddDestroyCallback(IDirect3DRMDevice *iface, D3DRMOBJECTCALLBACK cb, void *ctx) {
- FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
- struct d3drm_device *device = impl_from_IDirect3DRMDevice(iface);
- return E_NOTIMPL;
- TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
- return d3drm_device3_AddDestroyCallback(&device->IDirect3DRMDevice3_iface, cb, ctx);
}
It doesn't fit in this patch, but at some point we should test which interface is passed to the destroy callback: Is it the interface on which AddDestroyCallback was called, or is it the interface returned by iface->QueryInterface(&IID_IDirect3DRMObject)?
Please correct me if we already have tests for that and I missed them :- ) .