mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Shell
|
|
* FILE: base/services/shsvcs/shsvcs.c
|
|
* PURPOSE: ReactOS Shell Services
|
|
* PROGRAMMER: Giannis Adamopoulos
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <windows.h>
|
|
#include <wine/debug.h>
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(shsvcs);
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI DllRegisterServer(VOID)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI DllUnregisterServer(VOID)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI DllCanUnloadNow(VOID)
|
|
{
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
|
{
|
|
TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
|
|
return CLASS_E_CLASSNOTAVAILABLE;
|
|
}
|
|
|
|
BOOL WINAPI
|
|
DllMain(HINSTANCE hinstDLL,
|
|
DWORD fdwReason,
|
|
LPVOID lpvReserved)
|
|
{
|
|
switch (fdwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
DisableThreadLibraryCalls(hinstDLL);
|
|
break;
|
|
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|