ReactOS
0.4.16-dev-329-g9223134
redirtest2.c
Go to the documentation of this file.
1
2
#include <
windef.h
>
3
#include <
winbase.h
>
4
5
DWORD
WINAPI
GetVersion
()
6
{
7
return
2;
8
}
9
10
BOOL
11
WINAPI
12
DllMain
(
HINSTANCE
hinstDll,
13
DWORD
dwReason
,
14
LPVOID
reserved
)
15
{
16
switch
(
dwReason
)
17
{
18
case
DLL_PROCESS_ATTACH
:
19
DisableThreadLibraryCalls
(hinstDll);
20
break
;
21
22
case
DLL_PROCESS_DETACH
:
23
break
;
24
}
25
26
return
TRUE
;
27
}
dwReason
DWORD dwReason
Definition:
misc.cpp:141
TRUE
#define TRUE
Definition:
types.h:120
DLL_PROCESS_ATTACH
#define DLL_PROCESS_ATTACH
Definition:
compat.h:131
DLL_PROCESS_DETACH
#define DLL_PROCESS_DETACH
Definition:
compat.h:130
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:
redirtest2.c:12
GetVersion
DWORD WINAPI GetVersion()
Definition:
redirtest2.c:5
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
kernel32
redirptest
redirtest2.c
Generated on Sat Dec 7 2024 06:07:11 for ReactOS by
1.9.6