ReactOS  0.4.15-dev-4873-gb671b1c
msports.c File Reference
#include "precomp.h"
Include dependency graph for msports.c:

Go to the source code of this file.

Functions

BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
 

Variables

HINSTANCE hInstance
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDll,
DWORD  dwReason,
LPVOID  reserved 
)

Definition at line 15 of file msports.c.

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 }
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
#define TRACE(s)
Definition: solgame.cpp:4

Variable Documentation

◆ hInstance

HINSTANCE hInstance

Definition at line 11 of file msports.c.

Referenced by DllMain().