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.

81 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. vidriver.h
  5. Abstract:
  6. This header contains private information used to manage the verifier filter
  7. driver. This header should be included only by vfdriver.c.
  8. Author:
  9. Adrian J. Oney (adriao) 12-June-2000
  10. Environment:
  11. Kernel mode
  12. Revision History:
  13. AdriaO 06/12/2000 - Authored
  14. --*/
  15. typedef struct {
  16. PDEVICE_OBJECT PhysicalDeviceObject;
  17. PDEVICE_OBJECT LowerDeviceObject;
  18. PDEVICE_OBJECT Self;
  19. VF_DEVOBJ_TYPE DevObjType;
  20. } VERIFIER_EXTENSION, *PVERIFIER_EXTENSION;
  21. NTSTATUS
  22. ViDriverEntry(
  23. IN PDRIVER_OBJECT DriverObject,
  24. IN PUNICODE_STRING RegistryPath
  25. );
  26. NTSTATUS
  27. ViDriverAddDevice(
  28. IN PDRIVER_OBJECT DriverObject,
  29. IN PDEVICE_OBJECT PhysicalDeviceObject
  30. );
  31. NTSTATUS
  32. ViDriverDispatchPnp(
  33. IN PDEVICE_OBJECT DeviceObject,
  34. IN PIRP Irp
  35. );
  36. NTSTATUS
  37. ViDriverDispatchPower(
  38. IN PDEVICE_OBJECT DeviceObject,
  39. IN PIRP Irp
  40. );
  41. NTSTATUS
  42. ViDriverDispatchGeneric(
  43. IN PDEVICE_OBJECT DeviceObject,
  44. IN PIRP Irp
  45. );
  46. NTSTATUS
  47. ViDriverStartCompletionRoutine(
  48. IN PDEVICE_OBJECT DeviceObject,
  49. IN PIRP Irp,
  50. IN PVOID Context
  51. );
  52. NTSTATUS
  53. ViDriverDeviceUsageNotificationCompletionRoutine(
  54. IN PDEVICE_OBJECT DeviceObject,
  55. IN PIRP Irp,
  56. IN PVOID Context
  57. );