1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
NTSTATUS
DrvDispatch (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
)
{
PIO_STACK_LOCATION irps;
NTSTATUS status=STATUS_NOT_IMPLEMENTED;
KdPrintf(("[VFUM] control\n"));
irps=NULL;
if (Irp!=NULL)
{
irps = IoGetCurrentIrpStackLocation(Irp);
//if (irps!=NULL)
KdPrintfd(("[VFUM] vfums_control : Device:%x Majorfunction %d irp %x\n",DeviceObject,irps->MajorFunction,Irp));
{
if (irps->MajorFunction==IRP_MJ_SYSTEM_CONTROL)
{
KdPrintfd(("IRP_MJ_SYSTEM_CONTROL\n"));
}
if (irps->MajorFunction == IRP_MJ_FILE_SYSTEM_CONTROL)
{
KdPrintfd(("IRP_MJ_FILE_SYSTEM_CONTROL\n"));
}
} ....
...
} |
Partager