/*++ Copyright (c) 2000 Microsoft Corporation Module Name: vfpnp.h Abstract: This header contains prototypes for verifying Pnp IRPs are handled correctly. Author: Adrian J. Oney (adriao) 09-May-1998 Environment: Kernel mode Revision History: AdriaO 06/15/2000 - Seperated out from ntos\io\flunkirp.h --*/ VOID VfPnpInit( VOID ); VOID FASTCALL VfPnpVerifyNewRequest( IN PIOV_REQUEST_PACKET IovPacket, IN PDEVICE_OBJECT DeviceObject, IN PIO_STACK_LOCATION IrpLastSp OPTIONAL, IN PIO_STACK_LOCATION IrpSp, IN PIOV_STACK_LOCATION StackLocationData, IN PVOID CallerAddress OPTIONAL ); VOID FASTCALL VfPnpVerifyIrpStackDownward( IN PIOV_REQUEST_PACKET IovPacket, IN PDEVICE_OBJECT DeviceObject, IN PIO_STACK_LOCATION IrpLastSp OPTIONAL, IN PIO_STACK_LOCATION IrpSp, IN PIOV_STACK_LOCATION RequestHeadLocationData, IN PIOV_STACK_LOCATION StackLocationData, IN PVOID CallerAddress OPTIONAL ); VOID FASTCALL VfPnpVerifyIrpStackUpward( IN PIOV_REQUEST_PACKET IovPacket, IN PIO_STACK_LOCATION IrpSp, IN PIOV_STACK_LOCATION RequestHeadLocationData, IN PIOV_STACK_LOCATION StackLocationData, IN BOOLEAN IsNewlyCompleted, IN BOOLEAN RequestFinalized ); VOID FASTCALL VfPnpDumpIrpStack( IN PIO_STACK_LOCATION IrpSp ); BOOLEAN FASTCALL VfPnpIsSystemRestrictedIrp( IN PIO_STACK_LOCATION IrpSp ); BOOLEAN FASTCALL VfPnpAdvanceIrpStatus( IN PIO_STACK_LOCATION IrpSp, IN NTSTATUS OriginalStatus, IN OUT NTSTATUS *StatusToAdvance ); VOID FASTCALL VfPnpTestStartedPdoStack( IN PDEVICE_OBJECT PhysicalDeviceObject );