windows-nt/Source/XPSP1/NT/inetsrv/iis/svcs/iismap/memalloc.cxx
2020-09-26 16:20:57 +08:00

58 lines
607 B
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
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"