// ks.h
KSDDKAPI NTSTATUS KsPinPropertyHandler(
[in] PIRP Irp,
[in] PKSPROPERTY Property,
[in, out] PVOID Data,
[in] ULONG DescriptorsCount,
[in] const KSPIN_DESCRIPTOR *Descriptor
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsPinPropertyHandler function performs standard handling of the static members of the KSPROPSETID_Pin property set. This handling does not include KSPROPERTY_PIN_CINSTANCES or KSPROPERTY_PIN_DATAINTERSECTION.
Irp [in]Specifies the IRP handling the connection request.
Property [in]Specifies the specific property information.
Data [in, out]Specifies the data parameter mapped to a system address. This is the same parameter passed to a property handler through a KsPropertyHandler callback.
DescriptorsCount [in]Specifies the number of pin descriptors being passed.
Descriptor [in]Specifies the pointer to the list of pin descriptors.
The KsPinPropertyHandler function returns STATUS_SUCCESS or an error specific to the property being handled. The function fills in the IO_STATUS_BLOCK.Information field of the PIRP.IoStatus element within the IRP. It does not set the IO_STATUS_BLOCK.Status field nor complete the IRP.
Do not use the KsPinPropertyHandler function to define a pin property set; a pin property set can be more easily defined using the DEFINE_KSPROPERY_PINSET macro.