2011-05-17 19:24:19 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: Ports installer library
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
2011-05-27 15:33:12 +00:00
|
|
|
* FILE: dll\win32\msports\msports.c
|
2011-05-17 19:24:19 +00:00
|
|
|
* PURPOSE: Library main function
|
|
|
|
* COPYRIGHT: Copyright 2011 Eric Kohl
|
|
|
|
*/
|
|
|
|
|
2011-08-11 15:06:36 +00:00
|
|
|
#include "precomp.h"
|
2011-05-17 19:24:19 +00:00
|
|
|
|
2011-05-27 15:33:12 +00:00
|
|
|
HINSTANCE hInstance;
|
2011-05-17 19:24:19 +00:00
|
|
|
|
|
|
|
BOOL
|
|
|
|
WINAPI
|
|
|
|
DllMain(HINSTANCE hinstDll,
|
|
|
|
DWORD dwReason,
|
|
|
|
LPVOID reserved)
|
|
|
|
{
|
|
|
|
switch (dwReason)
|
|
|
|
{
|
|
|
|
case DLL_PROCESS_ATTACH:
|
|
|
|
TRACE("DLL_PROCESS_ATTACH\n");
|
2011-05-27 15:33:12 +00:00
|
|
|
hInstance = hinstDll;
|
2011-05-17 19:24:19 +00:00
|
|
|
DisableThreadLibraryCalls(hinstDll);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* EOF */
|