Condividi tramite


macro KSMETHOD_SET_IRP_STORAGE (ks.h)

Questa macro restituisce un puntatore al KSMETHOD_SET in cui si trova il metodo .

Sintassi

void KSMETHOD_SET_IRP_STORAGE(
  [in]  Irp
);

Parametri

[in] Irp

Specifica l'IRP passato alla routine del gestore.

Valore restituito

Nessuno

Osservazioni

Il puntatore a una struttura di KSMETHOD_SET viene estratto da Irp->Tail.Overlay.DriverContext. I parametri in DriverContext vengono inizializzati da KsMethodHandler e KsMethodHandlerWithAllocator.

La macro è definita come segue:

#define KSMETHOD_SET_IRP_STORAGE(Irp)   (*(const KSMETHOD_SET**)&(Irp)->Tail.Overlay.DriverContext[0])

Fabbisogno

Requisito Valore
piattaforma di destinazione Desktop
intestazione ks.h (include Ks.h)

Vedere anche

KSMETHOD

KSMETHOD_ITEM

KSMETHOD_SET

KsFastMethodHandler

KsMethodHandler

KsMethodHandlerWithAllocator