Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
664 B

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
memalloc.c
Abstract:
Memory allocator for the crypto routines.
IISCryptoAllocMemory
IISCryptoFreeMemory
Author:
Keith Moore (keithmo) 02-Dec-1996
Revision History:
--*/
extern "C" {
#include <iiscrypt.h>
PVOID
WINAPI
IISCryptoAllocMemory(
IN DWORD Size
)
{
return (PVOID)LocalAlloc( LPTR, Size );
} // IISCryptoAllocateMemory
VOID
WINAPI
IISCryptoFreeMemory(
IN PVOID Buffer
)
{
(VOID)LocalFree( (HLOCAL)Buffer );
} // IISCryptoFreeMemory
} // extern "C"