KStrGetPropertyHandler routine
The minidriver-provided KStrGetPropertyHandler routine is called when Kernel Streaming receives a get property request.
Syntax
PFNKSHANDLER KStrGetPropertyHandler;
NTSTATUS KStrGetPropertyHandler(
_In_ PIRP Irp,
_In_ PKSIDENTIFIER Request,
_Inout_ PVOID Data
)
{ ... }
Parameters
Irp [in]
Pointer to an IRP that contains the get property request.Request [in]
Pointer to a KSIDENTIFIER that identifies the specific request. This is typically a pointer to a KSPROPERTY structure.Data [in, out]
Pointer to a caller-supplied buffer that specifies information relevant to the request.
Return value
Return STATUS_SUCCESS if the request is handled. Appropriate error values depend on the property being handled. Return STATUS_NOT_SUPPORTED to indicate that the property is not supported or STATUS_BUFFER_TOO_SMALL if the caller-allocated Data buffer is not large enough.
Remarks
The minidriver specifies this routine's address in the GetPropertyHandler member of the KSPROPERTY_ITEM structure.
Requirements
Target platform |
Desktop |
Header |
Ks.h (include Ks.h) |
See also