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.

103 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. vfgeneric.h
  5. Abstract:
  6. This header contains prototypes for verifying generic 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. VfGenericInit(
  17. VOID
  18. );
  19. VOID
  20. FASTCALL
  21. VfGenericVerifyNewRequest(
  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. VfGenericVerifyIrpStackDownward(
  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. VfGenericVerifyIrpStackUpward(
  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. BOOLEAN
  51. FASTCALL
  52. VfGenericIsValidIrpStatus(
  53. IN PIO_STACK_LOCATION IrpSp,
  54. IN NTSTATUS Status
  55. );
  56. VOID
  57. FASTCALL
  58. VfGenericDumpIrpStack(
  59. IN PIO_STACK_LOCATION IrpSp
  60. );
  61. BOOLEAN
  62. FASTCALL
  63. VfGenericIsNewRequest(
  64. IN PIO_STACK_LOCATION IrpLastSp OPTIONAL,
  65. IN PIO_STACK_LOCATION IrpSp
  66. );
  67. VOID
  68. FASTCALL
  69. VfGenericVerifyNewIrp(
  70. IN PIOV_REQUEST_PACKET IovPacket,
  71. IN PIRP Irp,
  72. IN PIO_STACK_LOCATION IrpSp,
  73. IN PIOV_STACK_LOCATION StackLocationData,
  74. IN PVOID CallerAddress OPTIONAL
  75. );
  76. VOID
  77. FASTCALL
  78. VfGenericVerifyFinalIrpStack(
  79. IN PIOV_REQUEST_PACKET IovPacket,
  80. IN PIO_STACK_LOCATION IrpSp
  81. );