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.

81 lines
822 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. memalloc.c
  5. Abstract:
  6. Memory allocator for the crypto routines.
  7. IISCryptoAllocMemory
  8. IISCryptoFreeMemory
  9. Author:
  10. Keith Moore (keithmo) 02-Dec-1996
  11. Revision History:
  12. --*/
  13. #include "precomp.h"
  14. #pragma hdrstop
  15. //
  16. // Private constants.
  17. //
  18. //
  19. // Private types.
  20. //
  21. //
  22. // Private globals.
  23. //
  24. //
  25. // Private prototypes.
  26. //
  27. //
  28. // Public functions.
  29. //
  30. PVOID
  31. WINAPI
  32. IISCryptoAllocMemory(
  33. IN DWORD Size
  34. )
  35. {
  36. return CoTaskMemAlloc( Size );
  37. } // IISCryptoAllocateMemory
  38. VOID
  39. WINAPI
  40. IISCryptoFreeMemory(
  41. IN PVOID Buffer
  42. )
  43. {
  44. CoTaskMemFree( Buffer );
  45. } // IISCryptoFreeMemory
  46. //
  47. // Private functions.
  48. //