Partager via


Macro IoCallDriver (wdm.h)

La routine IoCallDriver encapsule IofCallDriver qui envoie un IRP au pilote associé à un objet d’appareil spécifié.

N’appelez pas IofCallDriver. Appelez Plutôt IoCallDriver . Pour plus d’informations, consultez IofCallDriver.

Syntaxe

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

Paramètres

[in] a

Consultez IofCallDriver.

[in, out] b

Consultez IofCallDriver.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Plateforme cible Universal
En-tête wdm.h (inclure Wdm.h, Ntddk.h, Ntifs.h)
Bibliothèque NtosKrnl.lib
DLL NtosKrnl.exe
IRQL IRQL <= DISPATCH_LEVEL
Règles de conformité 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), MarkingQueuedIrps(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)

Voir aussi

Consultez IofCallDriver.

IoAllocateIrp

IoBuildAsynchronousFsdRequest

IoBuildDeviceIoControlRequest

IoBuildSynchronousFsdRequest

IoSetCompletionRoutine

PoCallDriver