windows-nt/Source/XPSP1/NT/inetsrv/iis/svcs/iismap/memalloc.cxx

58 lines
607 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
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"