ReactOS
0.4.16-dev-336-gb667d82
Functions
init.c File Reference
#include "
precomp.h
"
Include dependency graph for init.c:
Go to the source code of this file.
Functions
BOOLEAN
WINAPI
DllMain
(
HINSTANCE
Instance
,
DWORD
Reason
,
LPVOID
Reserved
)
Function Documentation
◆
DllMain()
BOOLEAN
WINAPI
DllMain
(
HINSTANCE
Instance
,
DWORD
Reason
,
LPVOID
Reserved
)
Definition at line
14
of file
init.c
.
17
{
18
/* Check if we're being attached */
19
if
(
Reason
==
DLL_PROCESS_ATTACH
)
20
{
21
/* Let's disable TLC calls as an optimization */
22
DisableThreadLibraryCalls
(
Instance
);
23
}
24
25
/* We're done */
26
return
TRUE
;
27
}
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
Reason
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition:
env.c:47
Instance
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
Definition:
wdfwmi.h:481
dll
win32
rasadhlp
init.c
Generated on Tue Dec 10 2024 06:24:16 for ReactOS by
1.9.6