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.

41 lines
533 B

  1. /*++
  2. Copyright(c) 1995 Microsoft Corporation
  3. MODULE NAME
  4. mem.h
  5. ABSTRACT
  6. Header file for memory allocation routines.
  7. AUTHOR
  8. Anthony Discolo (adiscolo) 18-Aug-1995
  9. REVISION HISTORY
  10. --*/
  11. //
  12. // Pre-defined object types.
  13. // Any other value represents a
  14. // byte count.
  15. //
  16. #define ACD_OBJECT_CONNECTION 0
  17. #define ACD_OBJECT_MAX 1
  18. NTSTATUS
  19. InitializeObjectAllocator();
  20. PVOID
  21. AllocateObjectMemory(
  22. IN ULONG fObject
  23. );
  24. VOID
  25. FreeObjectMemory(
  26. IN PVOID pObject
  27. );
  28. VOID
  29. FreeObjectAllocator();