ReactOS
0.4.15-dev-7834-g00c4b3d
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
11
HINSTANCE
hInstance
;
12
13
BOOL
14
WINAPI
15
DllMain
(
HINSTANCE
hinstDll,
16
DWORD
dwReason
,
17
LPVOID
reserved
)
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 */
dwReason
DWORD dwReason
Definition:
misc.cpp:154
TRUE
#define TRUE
Definition:
types.h:120
DLL_PROCESS_ATTACH
#define DLL_PROCESS_ATTACH
Definition:
compat.h:131
DisableThreadLibraryCalls
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition:
loader.c:85
reserved
r reserved
Definition:
btrfs.c:3006
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
DllMain
BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
Definition:
msports.c:15
hInstance
HINSTANCE hInstance
Definition:
msports.c:11
TRACE
#define TRACE(s)
Definition:
solgame.cpp:4
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
dll
win32
msports
msports.c
Generated on Wed Mar 27 2024 06:04:13 for ReactOS by
1.9.6