static HRESULT WINAPI d3drm_face2_DeleteDestroyCallback(IDirect3DRMFace2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx) { struct d3drm_face *face = impl_from_IDirect3DRMFace2(iface); TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx); return d3drm_object_delete_destroy_callback(&face->obj, cb, ctx); }
static HRESULT WINAPI d3drm_texture3_DeleteDestroyCallback(IDirect3DRMTexture3 *iface, D3DRMOBJECTCALLBACK cb, void *ctx) { struct d3drm_texture *texture = impl_from_IDirect3DRMTexture3(iface); TRACE("iface %p, cb %p, ctx %p\n", iface, cb, ctx); return d3drm_object_delete_destroy_callback(&texture->obj, cb, ctx); }