mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
28 lines
386 B
C
28 lines
386 B
C
![]() |
|
||
|
#include <windef.h>
|
||
|
#include <winbase.h>
|
||
|
|
||
|
DWORD WINAPI GetVersion()
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
BOOL
|
||
|
WINAPI
|
||
|
DllMain(HINSTANCE hinstDll,
|
||
|
DWORD dwReason,
|
||
|
LPVOID reserved)
|
||
|
{
|
||
|
switch (dwReason)
|
||
|
{
|
||
|
case DLL_PROCESS_ATTACH:
|
||
|
DisableThreadLibraryCalls(hinstDll);
|
||
|
break;
|
||
|
|
||
|
case DLL_PROCESS_DETACH:
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return TRUE;
|
||
|
}
|