KSEVENT_ENTRY_IRP_STORAGE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

void KSEVENT_ENTRY_IRP_STORAGE(
  Irp
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksevent_entry_irp_storage)

Description

This macro retrieves a pointer to the KSEVENT_ENTRY structure stored in Irp. This information is initialized only for enable requests; it is not initialized for basic support requests. If the event enable is to be handled asynchronously, this storage location must be maintained intact.

Parameters

Irp

Contains a pointer to a KSEVENT_ENTRY structure.

Remarks

The macro is defined as follows:

#define KSEVENT_ENTRY_IRP_STORAGE(Irp)   (*(PKSEVENT_ENTRY*)&(Irp)->Tail.Overlay.DriverContext[0])