KSEVENT_ITEM_IRP_STORAGE macro (ks.h)

This macro retrieves a pointer to the KSEVENT_ITEM structure stored in Irp.

Syntax

void KSEVENT_ITEM_IRP_STORAGE(
   Irp
);

Parameters

Irp

Contains a pointer to a KSEVENT_ITEM structure.

Return value

None

Remarks

The macro is defined as follows:

#define KSMETHOD_ITEM_IRP_STORAGE(Irp)  (*(const KSMETHOD_ITEM**)&(Irp)->Tail.Overlay.DriverContext[3])

Requirements

Requirement Value
Target Platform Windows
Header ks.h (include Ks.h)