ReactOS  0.4.15-dev-3733-g974a0f0
msports.c
Go to the documentation of this file.
1 /*
2  * PROJECT: Ports installer library
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: dll\win32\msports\msports.c
5  * PURPOSE: Library main function
6  * COPYRIGHT: Copyright 2011 Eric Kohl
7  */
8 
9 #include "precomp.h"
10 
12 
13 BOOL
14 WINAPI
15 DllMain(HINSTANCE hinstDll,
18 {
19  switch (dwReason)
20  {
21  case DLL_PROCESS_ATTACH:
22  TRACE("DLL_PROCESS_ATTACH\n");
23  hInstance = hinstDll;
24  DisableThreadLibraryCalls(hinstDll);
25  break;
26  }
27 
28  return TRUE;
29 }
30 
31 /* EOF */
HINSTANCE hInstance
Definition: msports.c:11
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
DWORD dwReason
Definition: misc.cpp:154
BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
Definition: msports.c:15
unsigned int BOOL
Definition: ntddk_ex.h:94
r reserved
Definition: btrfs.c:2940
#define TRACE(s)
Definition: solgame.cpp:4
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95