Condividi tramite


Funzione RxMapSystemBuffer (rxprocs.h)

RxMapSystemBuffer restituisce l'indirizzo del buffer di sistema da IRP.

Sintassi

PVOID RxMapSystemBuffer(
  [in] IN PRX_CONTEXT RxContext,
  [in] IN PIRP        Irp
);

Parametri

[in] RxContext

Puntatore alla struttura RX_CONTEXT per questa richiesta.

[in] Irp

Puntatore all'IRP per questa richiesta.

Valore restituito

RxMapSystemBuffer restituisce un puntatore all'indirizzo mappato.

Osservazioni

La routine RxMapSystemBuffer verifica che >>MdlAd dress non sia NULL e restituisca il >Irp->AssociatedIrp.SystemBuffer in questo caso.

Nelle build al dettaglio, RxMapSystemBuffer chiamerà MmGetSystemAddressForMdlSafe per restituire il file MDL da IRP se Irp-> MdlAddress è NULL. Nelle compilazioni controllate, RxMapSystemBuffer fa sì che il sistema asserissi se > MdlAddress è NULL.

Fabbisogno

Requisito Valore
piattaforma di destinazione Desktop
intestazione rxprocs.h (include Rxcontx.h, Rxprocs.h)
IRQL <= APC_LEVEL

Vedere anche

MmGetSystemAddressForMdlSafe

RX_CONTEXT

RxLowIoCompletion

RxLowIoGetBufferAddress

RxNewMapUserBuffer