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.

25 lines
303 B

  1. #ifndef _MEMORY_H_
  2. #define _MEMORY_H_
  3. //
  4. // Constant declarations
  5. //
  6. #define HEAP_DEFAULT_SIZE 100 * 1024 //20k of initial stack
  7. //
  8. // Structure definitions
  9. //
  10. //
  11. // Function definitions
  12. //
  13. BOOL
  14. InitializeHeap(VOID);
  15. LPVOID
  16. AllocMem(DWORD dwBytes);
  17. BOOL
  18. FreeMem(LPVOID lpMem);
  19. #endif //_MEMORY_H_