ioCallDriver 宏 (wdm.h)

IoCallDriver 例程包装向与指定设备对象关联的驱动程序发送 IRP 的 IofCallDriver

不要调用 IofCallDriver。 请改为调用 IoCallDriver 。 有关详细信息,请参阅 IofCallDriver

语法

#define IoCallDriver(a,b)   \
        IofCallDriver(a,b)
);

参数

[in] a

请参阅 IofCallDriver

[in, out] b

请参阅 IofCallDriver

返回值

要求

要求
目标平台 通用
标头 wdm.h(包括 Wdm.h、Ntddk.h、Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL IRQL <= DISPATCH_LEVEL
DDI 符合性规则 CompleteRequestStatusCheck (wdm) CompletionRoutineRegistered (wdm) DeleteDevice (wdm) ForwardedAtBadIrql (wdm) ForwardedAtBadIrqlAllocate (wdm) ForwardedAtBadIrqlFsdAsync (wdm) ForwardedAtBadIrqlFsdSync (wdm) HwStorPortProhibitedDDI (storport) IoAllocateForward (wdm) IoAllocateIrpSignalEventInCompletionTimeout (wdm) IoBuildDeviceControlWait (wdm) IoBuildDeviceControlWaitTimeout (wdm) IoBuildFsdForward (wdm) IoBuildSynchronousFsdRequestWait (wdm) IoBuildSynchronousFsdRequestWaitTimeout (wdm) IoSetCompletionRoutineExCheck (wdm ) ,IrpProcessingComplete (wdm ) ,LowerDriverReturn (wdm ) ,MarkDevicePower (wdm) MarkQueuedIrps (wdm) MarkIrpPending (wdm) MarkIrpPending2 (wdm) MarkPower (wdm) MarkPowerDown (wdm) MarkQueryRelations (wdm) MarkStartDevice (wdm) PendedCompletedRequest (wdm) PendedCompletedRequest2 (wdm) PendedCompletedRequest3 (wdm) PendedCompletedRequestEx (wdm) PnpIrpCompletion (wdm) PowerDownFail (wdm) PowerUpFail (wdm) RemoveLockForward (wdm) RemoveLockForward2 (wdm) RemoveLockForwardDeviceControl (wdm) RemoveLockForwardDeviceControl2 (wdm) RemoveLockForwardDeviceControlInternal (wdm) RemoveLockForwardDeviceControlInternal2 (wdm) RemoveLockForwardRead (wdm) RemoveLockForwardRead2 (wdm) RemoveLockForwardWrite (wdm) RemoveLockForwardWrite2 (wdm) RemoveLockMnRemove2 (wdm) RemoveLockMnSurpriseRemove (wdm) RemoveLockQueryMnRemove (wdm) TargetRelationNeedsRef (wdm) WmiForward (wdm)

另请参阅

请参阅 IofCallDriver

IoAllocateIrp

IoBuildAsynchronousFsdRequest

IoBuildDeviceIoControlRequest

IoBuildSynchronousFsdRequest

IoSetCompletionRoutine

PoCallDriver