ReactOS
0.4.16-dev-751-g45ed1a9
main.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS system libraries
4
* FILE: dll/win32/framedyn/main.c
5
* PURPOSE: framedyn entry point
6
* PROGRAMMERS: Pierre Schweitzer (pierre@reactos.org)
7
*
8
*/
9
10
/* INCLUDES ******************************************************************/
11
12
#include <stdarg.h>
13
#include <
windef.h
>
14
#include <
winbase.h
>
15
16
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
17
{
18
19
switch
(
fdwReason
)
20
{
21
case
DLL_PROCESS_ATTACH
:
22
DisableThreadLibraryCalls
(hinstDLL);
23
break
;
24
case
DLL_PROCESS_DETACH
:
25
break
;
26
}
27
28
return
TRUE
;
29
}
fdwReason
static DWORD const fdwReason
Definition:
appcrt_dllmain.cpp:57
TRUE
#define TRUE
Definition:
types.h:120
DllMain
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
Definition:
main.c:26
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
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
lpvReserved
static IN DWORD IN LPVOID lpvReserved
Definition:
load_notifications.c:17
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
dll
win32
framedyn
main.c
Generated on Sun Feb 16 2025 06:15:55 for ReactOS by
1.9.6