共用方式為


(wdm.h) IoCallDriver 宏

IoCallDriver 例程會包裝 IofCallDriver,將 IRP 傳送至與指定裝置物件相關聯的驅動程式。

請勿呼叫 IofCallDriver。 請改為呼叫 IoCallDriver 。 如需詳細資訊,請參閱 IofCallDriver

語法

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

參數

[in] a

請參閱 IofCallDriver

[in, out] b

請參閱 IofCallDriver

傳回值

規格需求

需求
目標平台 Universal
標頭 wdm.h (包括 Wdm.h、Ntddk.h、Ntifs.h)
程式庫 NtosKrnl.lib
Dll NtosKrnl.exe
IRQL IRQL <= DISPATCH_LEVEL
DDI 合規性規則 CompleteRequestStatusCheck (wdm) CompletionRoutineRegistered (wdm) DeleteDevice (wdm) ForwardedAtBadIrql (wdm) , ForwardedAtBadIrqlAllocate (wdm) ForwardedAtBadIrqlFsdAsync (wdm) ForwardedAtBadIrqlFsdSync (wdm) HwStorPortProhibitedDDIs (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