KSMETHOD_SET_IRP_STORAGE macro (ks.h)
This macro returns a pointer to the KSMETHOD_SET in which the method is located.
Syntax
void KSMETHOD_SET_IRP_STORAGE(
[in] Irp
);
Parameters
[in] Irp
Specifies the IRP passed to the handler routine.
Return value
None
Remarks
The pointer to a KSMETHOD_SET structure is extracted from Irp->Tail.Overlay.DriverContext
. Parameters in DriverContext are initialized by KsMethodHandler and KsMethodHandlerWithAllocator.
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 | Desktop |
Header | ks.h (include Ks.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for