KSEVENT_ENTRY_IRP_STORAGE

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:


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

 

 

Send comments about this topic to Microsoft

Show: