Re: [PATCH 1/4] d3drm: Implement IDirect3DRMFrameX_AddChild.
2 Apr
2012
2 Apr
'12
8:14 a.m.
Hi Christian, On 04/02/12 08:54, Christian Costa wrote:
{ IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface); + LPDIRECT3DRMFRAME3 frame;
- FIXME("(%p/%p)->(%p): stub\n", iface, This, child); + TRACE("(%p/%p)->(%p)\n", iface, This, child);
- return E_NOTIMPL; + if (!child) + return D3DRMERR_BADOBJECT; + + frame = &impl_from_IDirect3DRMFrame2((LPDIRECT3DRMFRAME2)child)->IDirect3DRMFrame3_iface;
This should be avoided. See unsafe_impl_from_* at http://wiki.winehq.org/COMGuideline for an example. Jacek
5003
Age (days ago)
5003
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban