|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1991 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: pooltrc.h ! 8: ! 9: Abstract: ! 10: ! 11: This file declares private structures and functions used to implement ! 12: STREAMS NonPaged Pool usage tracing. ! 13: ! 14: Author: ! 15: ! 16: Mike Massa (mikemas) January 10, 1992 ! 17: ! 18: Revision History: ! 19: ! 20: Who When What ! 21: -------- -------- ---------------------------------------------- ! 22: mikemas 01-10-92 created ! 23: ! 24: Notes: ! 25: ! 26: ! 27: --*/ ! 28: ! 29: #if DBG ! 30: ! 31: ! 32: #ifndef _POOLTRC_INCLUDED_ ! 33: #define _POOLTRC_INCLUDED_ ! 34: ! 35: ! 36: /* ! 37: * NonPaged Pool Usage Debugging Macros ! 38: * ! 39: */ ! 40: ! 41: #define ExAllocatePool(P, N) StrmAllocatePool(P, N, __LINE__, __FILE__) ! 42: #define ExFreePool(P) StrmFreePool(P, __LINE__, __FILE__) ! 43: ! 44: ! 45: PVOID ! 46: StrmAllocatePool( ! 47: IN POOL_TYPE PoolType, ! 48: IN ULONG NumberOfBytes, ! 49: IN int line, ! 50: IN char *file ! 51: ); ! 52: ! 53: VOID ! 54: StrmFreePool( ! 55: IN PVOID P, ! 56: IN int line, ! 57: IN char *file ! 58: ); ! 59: ! 60: VOID ! 61: StrmListOutstandingPoolBuffers( ! 62: VOID ! 63: ); ! 64: ! 65: VOID ! 66: StrmFlushPoolTraceTable( ! 67: VOID ! 68: ); ! 69: ! 70: ! 71: #endif //_POOLTRC_INCLUDED_ ! 72: ! 73: ! 74: #endif //DBG
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.