[PATCH 1/3] d3dx9_36: Implement ID3DXFileDataImpl_Lock and ID3DXFileDataImpl_Unlock.

Rico Schüller kgbricola at web.de
Fri Jan 11 03:21:06 CST 2013


On 11.01.2013 09:40, Christian Costa wrote:
>   static HRESULT WINAPI ID3DXFileDataImpl_Unlock(ID3DXFileData *iface)
>   {
> -    FIXME("(%p)->(): stub\n", iface);
> +    TRACE("(%p)->()\n", iface);
>
> -    return E_NOTIMPL;
> +    /* Nothing to do */
> +
> +    return S_OK;
>   }

Hi Christian,

I stumble over MSDN, it says in Remarks on 
http://msdn.microsoft.com/de-de/library/windows/desktop/bb205846%28v=vs.85%29.aspx 
... from that sentence I'd think that you have to do some lock count. A 
test would probably be nice. Though, msdn has a bool as return value for 
the unlock function but in the header it's a HRESULT... Is msdn wrong here?

Cheers
Rico



More information about the wine-devel mailing list