Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2.02 KB

nf-ks-ksmethod_set_irp_storage.md

File metadata and controls

75 lines (59 loc) · 2.02 KB
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 macro
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
KSMETHOD_SET_IRP_STORAGE
ks/KSMETHOD_SET_IRP_STORAGE
APIRef
kbSyntax
HeaderDef
ks.h
KSMETHOD_SET_IRP_STORAGE

-description

This macro returns a pointer to the KSMETHOD_SET in which the method is located.

-parameters

-param Irp [in]

Specifies the IRP passed to the handler routine.

-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])

-see-also

KSMETHOD

KSMETHOD_ITEM

KSMETHOD_SET

KsFastMethodHandler

KsMethodHandler

KsMethodHandlerWithAllocator