Commit 10c51972 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

uianimation: Add DllCanUnloadNow, DllGetClassObject, DllRegisterServer, DllUnregisterServer stubs.

parent 3fd7a32a
......@@ -23,6 +23,8 @@
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "uianimation.h"
......@@ -30,6 +32,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(uianimation);
static HINSTANCE hinstance;
BOOL WINAPI DllMain( HINSTANCE dll, DWORD reason, LPVOID reserved )
{
TRACE("(%p %d %p)\n", dll, reason, reserved);
......@@ -39,8 +43,44 @@ BOOL WINAPI DllMain( HINSTANCE dll, DWORD reason, LPVOID reserved )
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
hinstance = dll;
DisableThreadLibraryCalls( dll );
break;
}
return TRUE;
}
/******************************************************************
* DllGetClassObject
*/
HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **obj )
{
FIXME( "(%s %s %p)\n", debugstr_guid( clsid ), debugstr_guid( iid ), obj );
return CLASS_E_CLASSNOTAVAILABLE;
}
/******************************************************************
* DllCanUnloadNow
*/
HRESULT WINAPI DllCanUnloadNow( void )
{
TRACE( "()\n" );
return S_FALSE;
}
/***********************************************************************
* DllRegisterServer
*/
HRESULT WINAPI DllRegisterServer( void )
{
return __wine_register_resources( hinstance );
}
/***********************************************************************
* DllUnregisterServer
*/
HRESULT WINAPI DllUnregisterServer( void )
{
return __wine_unregister_resources( hinstance );
}
@ stub DllCanUnloadNow()
@ stub DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer()
@ stub DllUnregisterServer()
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
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