Bewerken

Delen via


KSEVENT_ENTRY_IRP_STORAGE macro (ks.h)

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.

Syntax

void KSEVENT_ENTRY_IRP_STORAGE(
   Irp
);

Parameters

Irp

Contains a pointer to a KSEVENT_ENT****RY structure.

Return value

None

Remarks

The macro is defined as follows:

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

Requirements

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