UID | title | description | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ks.KSMETHOD_SET_IRP_STORAGE |
KSMETHOD_SET_IRP_STORAGE macro (ks.h) |
This macro returns a pointer to the KSMETHOD_SET in which the method is located. |
stream |
03/11/2022 |
|
KSMETHOD_SET_IRP_STORAGE, KSMETHOD_SET_IRP_STORAGE macro [Streaming Media Devices], ks/KSMETHOD_SET_IRP_STORAGE, ksfunc_d413bf2a-7d63-48c2-9e75-d84cf1344f5c.xml, stream.ksmethod_set_irp_storage |
ks.h |
Ks.h |
Desktop |
Windows |
19H1 |
|
|
|
|
|
This macro returns a pointer to the KSMETHOD_SET in which the method is located.
Specifies the IRP passed to the handler routine.
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])