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.

46 lines
743 B

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation
  6. //
  7. // File: kpmem.cxx
  8. //
  9. // Contents: Prototypes for Routines to wrap memory allocation, etc.
  10. //
  11. // History: 10-Jul-2001 t-ryanj Created
  12. //
  13. //------------------------------------------------------------------------
  14. #include <windows.h>
  15. #include "kpdebug.h"
  16. #ifndef __KPMEM_H__
  17. #define __KPMEM_H__
  18. BOOL
  19. KpInitMem(
  20. VOID
  21. );
  22. VOID
  23. KpCleanupMem(
  24. VOID
  25. );
  26. LPVOID
  27. KpAlloc(
  28. SIZE_T size
  29. );
  30. BOOL
  31. KpFree(
  32. LPVOID buffer
  33. );
  34. LPVOID
  35. KpReAlloc(
  36. LPVOID buffer,
  37. SIZE_T size
  38. );
  39. #endif __KPMEM_H__