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.

24 lines
536 B

  1. #ifndef QHEAP_DEFINED
  2. #define QHEAP_DEFINED
  3. #include "lsidefs.h"
  4. #include "pqheap.h"
  5. PQHEAP CreateQuickHeap(PLSC, DWORD, DWORD, BOOL);
  6. void DestroyQuickHeap(PQHEAP);
  7. void* PvNewQuickProc(PQHEAP);
  8. void DisposeQuickPvProc(PQHEAP, void*);
  9. void FlushQuickHeap(PQHEAP);
  10. #ifdef DEBUG
  11. DWORD CbObjQuick(PQHEAP);
  12. #endif
  13. #define PvNewQuick(pqh, cb) \
  14. (Assert((cb) == CbObjQuick(pqh)), PvNewQuickProc(pqh))
  15. #define DisposeQuickPv(pqh, pv, size) \
  16. (Assert(size == CbObjQuick(pqh)), DisposeQuickPvProc(pqh,pv))
  17. #endif /* QHEAP_DEFINED */