mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00

- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
40 lines
929 B
C
40 lines
929 B
C
/* $Id$
|
|
*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: lib/secur32/lsa.c
|
|
* PURPOSE: Client-side LSA functions
|
|
* UPDATE HISTORY:
|
|
* Created 05/08/00
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
#include <precomp.h>
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
HANDLE Secur32Heap;
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE hInstance, ULONG Reason, PVOID Reserved)
|
|
{
|
|
switch (Reason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
Secur32Heap = RtlCreateHeap(0, NULL, 0, 4096, NULL, NULL);
|
|
if (Secur32Heap == 0)
|
|
{
|
|
return(FALSE);
|
|
}
|
|
break;
|
|
|
|
case DLL_PROCESS_DETACH:
|
|
if (!RtlDestroyHeap(Secur32Heap))
|
|
{
|
|
return(FALSE);
|
|
}
|
|
break;
|
|
}
|
|
return(TRUE);
|
|
}
|