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.
81 lines
822 B
81 lines
822 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:
|
|
|
|
--*/
|
|
|
|
|
|
#include "precomp.h"
|
|
#pragma hdrstop
|
|
|
|
|
|
//
|
|
// Private constants.
|
|
//
|
|
|
|
|
|
//
|
|
// Private types.
|
|
//
|
|
|
|
|
|
//
|
|
// Private globals.
|
|
//
|
|
|
|
|
|
//
|
|
// Private prototypes.
|
|
//
|
|
|
|
|
|
//
|
|
// Public functions.
|
|
//
|
|
|
|
|
|
PVOID
|
|
WINAPI
|
|
IISCryptoAllocMemory(
|
|
IN DWORD Size
|
|
)
|
|
{
|
|
|
|
return CoTaskMemAlloc( Size );
|
|
|
|
} // IISCryptoAllocateMemory
|
|
|
|
|
|
VOID
|
|
WINAPI
|
|
IISCryptoFreeMemory(
|
|
IN PVOID Buffer
|
|
)
|
|
{
|
|
|
|
CoTaskMemFree( Buffer );
|
|
|
|
} // IISCryptoFreeMemory
|
|
|
|
|
|
//
|
|
// Private functions.
|
|
//
|
|
|