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
730 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 <rpc.h>
  16. #ifndef __KTMEM_H__
  17. #define __KTMEM_H__
  18. BOOL
  19. KtInitMem(
  20. VOID
  21. );
  22. VOID
  23. KtCleanupMem(
  24. VOID
  25. );
  26. PVOID
  27. KtAlloc(
  28. SIZE_T size
  29. );
  30. VOID
  31. KtFree(
  32. PVOID buf
  33. );
  34. PVOID
  35. KtReAlloc(
  36. PVOID buf,
  37. SIZE_T size
  38. );
  39. #endif // __KTMEM_H__