d3drm: Add DllCanUnloadNow, DllGetClassObject stubs.

This commit is contained in:
Alistair Leslie-Hughes 2015-07-07 10:15:55 +10:00 committed by Alexandre Julliard
parent 4f2a92328e
commit 3981205c56
2 changed files with 17 additions and 2 deletions

View File

@ -1528,3 +1528,18 @@ HRESULT WINAPI Direct3DRMCreate(IDirect3DRM **d3drm)
return S_OK;
}
HRESULT WINAPI DllCanUnloadNow(void)
{
return S_FALSE;
}
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
{
TRACE("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
if(!ppv)
return E_INVALIDARG;
return CLASS_E_CLASSNOTAVAILABLE;
}

View File

@ -19,5 +19,5 @@
@ stdcall D3DRMVectorScale(ptr ptr float)
@ stdcall D3DRMVectorSubtract(ptr ptr ptr)
@ stdcall Direct3DRMCreate(ptr)
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)