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.

27 lines
671 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dbmem.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __dbmem_h
  11. #define __dbmem_h
  12. #ifdef DEBUG
  13. //
  14. // When building with debug then build in the debugging allocator
  15. //
  16. HLOCAL DebugLocalAlloc(UINT uFlags, SIZE_T cbSize);
  17. HLOCAL DebugLocalFree(HLOCAL hLocal);
  18. #define LocalAlloc(flags, size) DebugLocalAlloc(flags, size)
  19. #define LocalFree(handle) DebugLocalFree(handle)
  20. #endif // DEBUG
  21. #endif // __dbmem_h