-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2016-06-15 um 10:35 schrieb Aaryaman Vasishta:
+static HRESULT WINAPI d3drm_frame1_GetVisuals(IDirect3DRMFrame *iface, IDirect3DRMVisualArray **visuals) +{
- struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
- struct d3drm_visual_array *array;
- TRACE("iface %p, visuals %p.\n", iface, visuals);
- if (!visuals)
return D3DRMERR_BADVALUE;
- if (!(array = d3drm_visual_array_create(frame->nb_visuals, frame->visuals)))
return E_OUTOFMEMORY;
- *visuals = &array->IDirect3DRMVisualArray_iface;
- return D3DRM_OK;
+}
This is a reimplementation instead of a thunk. Intentional? The same applies to d3drm_frame1_GetTransform.
+static HRESULT WINAPI d3drm_frame1_GetSceneBackgroundDepth(IDirect3DRMFrame *iface,
IDirectDrawSurface **surface)
The indentation here is different.