ReactOS 0.4.15-dev-7924-g5949c20
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/secur32/lsa.c
5 * PURPOSE: Client-side LSA functions
6 * UPDATE HISTORY:
7 * Created 05/08/00
8 */
9
10#include "precomp.h"
11
14
15/* GLOBALS *******************************************************************/
16
18
19/* FUNCTIONS *****************************************************************/
20
21#ifdef __REACTOS__
22// See sspi.c
23extern void SECUR32_freeProviders(void);
24#endif
25
26BOOL
31{
32 switch (Reason)
33 {
35 Secur32Heap = RtlCreateHeap(0, NULL, 0, 4096, NULL, NULL);
36 if (Secur32Heap == 0)
37 {
38 return FALSE;
39 }
41 break;
42
44#ifdef __REACTOS__
46#endif
49 {
50 return FALSE;
51 }
52 break;
53 }
54
55 return TRUE;
56}
HINSTANCE hInstance
Definition: charmap.c:19
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
Definition: dllmain.c:52
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
HANDLE Secur32Heap
Definition: dllmain.c:17
VOID LsapInitLsaPort(VOID)
Definition: lsalpc.c:34
VOID LsapCloseLsaPort(VOID)
Definition: lsalpc.c:41
unsigned int BOOL
Definition: ntddk_ex.h:94
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:47
NTSYSAPI PVOID NTAPI RtlDestroyHeap(IN PVOID HeapHandle)
NTSYSAPI PVOID NTAPI RtlCreateHeap(IN ULONG Flags, IN PVOID HeapBase OPTIONAL, IN ULONG ReserveSize OPTIONAL, IN ULONG CommitSize OPTIONAL, IN PVOID Lock OPTIONAL, IN PRTL_HEAP_PARAMETERS Parameters OPTIONAL)
void SECUR32_freeProviders(void)
Definition: sspi.c:648
uint32_t ULONG
Definition: typedefs.h:59
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6