Funzione RxMapSystemBuffer (rxprocs.h)

RxMapSystemBuffer restituisce l'indirizzo del buffer di sistema dall'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.

Commenti

La routine RxMapSystemBuffer verifica che Irp-MdlAddress> non sia NULL e restituisce Irp-AssociatedIrp.SystemBuffer> in questo caso.

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

Requisiti

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

Vedi anche

MmGetSystemAddressForMdlSafe

RX_CONTEXT

RxLowIoCompletion

RxLowIoGetBufferAddress

RxNewMapUserBuffer