KSEVENT_SET_IRP_STORAGE macro (ks.h)

This macro retrieves a pointer to the KSEVENT_SET structure stored in Irp. This information is initialized only for basic support requests; it is not initialized for enable requests.

Syntax

void KSEVENT_SET_IRP_STORAGE(
   Irp
);

Parameters

Irp

Contains a pointer to a KSEVENT_SET structure.

Return value

None

Remarks

The macro is defined as follows:

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

Requirements

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