ReactOS 0.4.15-dev-5664-g3bf4ef6
dllmain.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: lib/advapi32/misc/dllmain.c
5 * PURPOSE: Library main function
6 * PROGRAMMER: ???
7 * UPDATE HISTORY:
8 * Created ???
9 */
10
11#include <advapi32.h>
12
13extern BOOL RegInitialize(VOID);
14extern BOOL RegCleanup(VOID);
15extern VOID UnloadNtMarta(VOID);
17
18BOOL
21 HINSTANCE hinstDll,
24{
25 switch (dwReason)
26 {
30 break;
31
34 RegCleanup();
37 break;
38 }
39
40 return TRUE;
41}
42
43/* EOF */
NTSTATUS CloseLogonLsaHandle(VOID)
Definition: logon.c:75
DWORD dwReason
Definition: misc.cpp:154
#define TRUE
Definition: types.h:120
BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
Definition: dllmain.c:52
VOID CloseKsecDdHandle(VOID)
Definition: sysfunc.c:682
VOID UnloadNtMarta(VOID)
Definition: misc.c:116
BOOL RegInitialize(VOID)
Definition: reg.c:70
BOOL RegCleanup(VOID)
Definition: reg.c:93
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
r reserved
Definition: btrfs.c:3006
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WINAPI
Definition: msvc.h:6