WindowsXP/Source/XPSP1/NT/base/ntos/io/pnpmgr/pphandle.h
2024-08-03 16:30:48 +02:00

45 lines
833 B
C

/*++
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