windows-nt/Source/XPSP1/NT/base/ntos/io/pnpmgr/pphandle.h

45 lines
833 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 2001 Microsoft Corporation
Module Name:
PpLastGood.h
Abstract:
This header exposes routines for enumerating handles opened against a PDO
stack.
Author:
Adrian J. Oney - April 4, 2001
Revision History:
--*/
//
// The routines exposed by this header are currently available only in the
// checked build.
//
#if DBG
typedef BOOLEAN (*PHANDLE_ENUMERATION_CALLBACK)(
IN PDEVICE_OBJECT DeviceObject,
IN PEPROCESS Process,
IN PFILE_OBJECT FileObject,
IN HANDLE HandleId,
IN PVOID Context
);
BOOLEAN
PpHandleEnumerateHandlesAgainstPdoStack(
IN PDEVICE_OBJECT PhysicalDeviceObject,
IN PHANDLE_ENUMERATION_CALLBACK HandleEnumCallBack,
IN PVOID Context
);
#endif // DBG