Compartilhar via


PFNKSHANDLER routine

The minidriver-provided KStrSetPropertyHandler routine is called when Kernel Streaming receives a set property request.

Syntax

PFNKSHANDLER KStrSetPropertyHandler;

NTSTATUS KStrSetPropertyHandler(
  _In_    PIRP          Irp,
  _In_    PKSIDENTIFIER Request,
  _Inout_ PVOID         Data
)
{ ... }

Parameters

  • Irp [in]
    Pointer to an IRP that contains the set 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.

Remarks

The minidriver specifies this routine's address in the SetPropertyHandler member of the KSPROPERTY_ITEM structure.

Requirements

Target platform

Desktop

Header

Ks.h (include Ks.h)

See also

KSPROPERTY

KSPROPERTY_ITEM

 

 

Send comments about this topic to Microsoft