Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. vfpnp.h
  5. Abstract:
  6. This header contains prototypes for verifying Pnp IRPs are handled
  7. correctly.
  8. Author:
  9. Adrian J. Oney (adriao) 09-May-1998
  10. Environment:
  11. Kernel mode
  12. Revision History:
  13. AdriaO 06/15/2000 - Seperated out from ntos\io\flunkirp.h
  14. --*/
  15. VOID
  16. VfPnpInit(
  17. VOID
  18. );
  19. VOID
  20. FASTCALL
  21. VfPnpVerifyNewRequest(
  22. IN PIOV_REQUEST_PACKET IovPacket,
  23. IN PDEVICE_OBJECT DeviceObject,
  24. IN PIO_STACK_LOCATION IrpLastSp OPTIONAL,
  25. IN PIO_STACK_LOCATION IrpSp,
  26. IN PIOV_STACK_LOCATION StackLocationData,
  27. IN PVOID CallerAddress OPTIONAL
  28. );
  29. VOID
  30. FASTCALL
  31. VfPnpVerifyIrpStackDownward(
  32. IN PIOV_REQUEST_PACKET IovPacket,
  33. IN PDEVICE_OBJECT DeviceObject,
  34. IN PIO_STACK_LOCATION IrpLastSp OPTIONAL,
  35. IN PIO_STACK_LOCATION IrpSp,
  36. IN PIOV_STACK_LOCATION RequestHeadLocationData,
  37. IN PIOV_STACK_LOCATION StackLocationData,
  38. IN PVOID CallerAddress OPTIONAL
  39. );
  40. VOID
  41. FASTCALL
  42. VfPnpVerifyIrpStackUpward(
  43. IN PIOV_REQUEST_PACKET IovPacket,
  44. IN PIO_STACK_LOCATION IrpSp,
  45. IN PIOV_STACK_LOCATION RequestHeadLocationData,
  46. IN PIOV_STACK_LOCATION StackLocationData,
  47. IN BOOLEAN IsNewlyCompleted,
  48. IN BOOLEAN RequestFinalized
  49. );
  50. VOID
  51. FASTCALL
  52. VfPnpDumpIrpStack(
  53. IN PIO_STACK_LOCATION IrpSp
  54. );
  55. BOOLEAN
  56. FASTCALL
  57. VfPnpIsSystemRestrictedIrp(
  58. IN PIO_STACK_LOCATION IrpSp
  59. );
  60. BOOLEAN
  61. FASTCALL
  62. VfPnpAdvanceIrpStatus(
  63. IN PIO_STACK_LOCATION IrpSp,
  64. IN NTSTATUS OriginalStatus,
  65. IN OUT NTSTATUS *StatusToAdvance
  66. );
  67. VOID
  68. FASTCALL
  69. VfPnpTestStartedPdoStack(
  70. IN PDEVICE_OBJECT PhysicalDeviceObject
  71. );