windows-nt/Source/XPSP1/NT/base/ntos/verifier/vidriver.h
2020-09-26 16:20:57 +08:00

82 lines
1.4 KiB
C

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
vidriver.h
Abstract:
This header contains private information used to manage the verifier filter
driver. This header should be included only by vfdriver.c.
Author:
Adrian J. Oney (adriao) 12-June-2000
Environment:
Kernel mode
Revision History:
AdriaO 06/12/2000 - Authored
--*/
typedef struct {
PDEVICE_OBJECT PhysicalDeviceObject;
PDEVICE_OBJECT LowerDeviceObject;
PDEVICE_OBJECT Self;
VF_DEVOBJ_TYPE DevObjType;
} VERIFIER_EXTENSION, *PVERIFIER_EXTENSION;
NTSTATUS
ViDriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
);
NTSTATUS
ViDriverAddDevice(
IN PDRIVER_OBJECT DriverObject,
IN PDEVICE_OBJECT PhysicalDeviceObject
);
NTSTATUS
ViDriverDispatchPnp(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
);
NTSTATUS
ViDriverDispatchPower(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
);
NTSTATUS
ViDriverDispatchGeneric(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
);
NTSTATUS
ViDriverStartCompletionRoutine(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
IN PVOID Context
);
NTSTATUS
ViDriverDeviceUsageNotificationCompletionRoutine(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
IN PVOID Context
);