mirror of
https://github.com/reactos/reactos.git
synced 2024-08-31 07:38:48 +00:00
32 lines
610 B
C
32 lines
610 B
C
/*
|
|
* PROJECT: Ports installer library
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: dll\win32\msports\msports.c
|
|
* PURPOSE: Library main function
|
|
* COPYRIGHT: Copyright 2011 Eric Kohl
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
HINSTANCE hInstance;
|
|
|
|
BOOL
|
|
WINAPI
|
|
DllMain(HINSTANCE hinstDll,
|
|
DWORD dwReason,
|
|
LPVOID reserved)
|
|
{
|
|
switch (dwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
TRACE("DLL_PROCESS_ATTACH\n");
|
|
hInstance = hinstDll;
|
|
DisableThreadLibraryCalls(hinstDll);
|
|
break;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
/* EOF */
|