mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
31 lines
610 B
C
31 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 */
|