Source code of Windows XP (NT5)
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.

60 lines
647 B

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. spmemory.h
  5. Abstract:
  6. Public Header file for memory allocation routines
  7. for text setup.
  8. Author:
  9. Ted Miller (tedm) 29-July-1993
  10. Revision History:
  11. --*/
  12. #ifndef _SPMEM_DEFN_
  13. #define _SPMEM_DEFN_
  14. PVOID
  15. SpMemAlloc(
  16. IN SIZE_T Size
  17. );
  18. PVOID
  19. SpMemAllocEx(
  20. IN SIZE_T Size,
  21. IN ULONG Tag,
  22. IN POOL_TYPE Type
  23. );
  24. PVOID
  25. SpMemAllocNonPagedPool(
  26. IN SIZE_T Size
  27. );
  28. PVOID
  29. SpMemRealloc(
  30. IN PVOID Block,
  31. IN SIZE_T NewSize
  32. );
  33. VOID
  34. SpMemFree(
  35. IN PVOID Block
  36. );
  37. VOID
  38. SpOutOfMemory(
  39. VOID
  40. );
  41. #endif // ndef _SPMEM_DEFN_