Commit fc8dfe60 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dx9_36: Implement ID3DXFileDataImpl_GetId.

parent f8d90893
...@@ -160,9 +160,19 @@ static HRESULT WINAPI ID3DXFileDataImpl_GetName(ID3DXFileData *iface, char *name ...@@ -160,9 +160,19 @@ static HRESULT WINAPI ID3DXFileDataImpl_GetName(ID3DXFileData *iface, char *name
static HRESULT WINAPI ID3DXFileDataImpl_GetId(ID3DXFileData *iface, GUID *guid) static HRESULT WINAPI ID3DXFileDataImpl_GetId(ID3DXFileData *iface, GUID *guid)
{ {
FIXME("(%p)->(%p): stub\n", iface, guid); ID3DXFileDataImpl *This = impl_from_ID3DXFileData(iface);
HRESULT ret;
return E_NOTIMPL; TRACE("(%p)->(%p)\n", iface, guid);
if (!guid)
return E_POINTER;
ret = IDirectXFileData_GetId(This->dxfile_data, guid);
if (ret != DXFILE_OK)
return error_dxfile_to_d3dxfile(ret);
return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment