File:  [WindowsNT SDKs] / ntddk / src / network / streams / inc / pooltrc.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    pooltrc.h

Abstract:

    This file declares private structures and functions used to implement
    STREAMS NonPaged Pool usage tracing.

Author:

    Mike Massa (mikemas)           January 10, 1992

Revision History:

    Who         When        What
    --------    --------    ----------------------------------------------
    mikemas     01-10-92    created

Notes:


--*/

#if DBG


#ifndef _POOLTRC_INCLUDED_
#define _POOLTRC_INCLUDED_


/*
 *  NonPaged Pool Usage Debugging Macros
 *
 */

#define ExAllocatePool(P, N)  StrmAllocatePool(P, N, __LINE__, __FILE__)
#define ExFreePool(P)         StrmFreePool(P, __LINE__, __FILE__)


PVOID
StrmAllocatePool(
    IN POOL_TYPE  PoolType,
    IN ULONG      NumberOfBytes,
    IN int        line,
    IN char      *file
    );

VOID
StrmFreePool(
    IN PVOID P,
    IN int   line,
    IN char *file
    );

VOID
StrmListOutstandingPoolBuffers(
    VOID
    );

VOID
StrmFlushPoolTraceTable(
    VOID
    );


#endif //_POOLTRC_INCLUDED_


#endif //DBG

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.