// bdasup.h
NTSTATUS BdaPropertyGetPinControl(
[in] PIRP Irp,
[in] PKSPROPERTY Property,
[out, optional] ULONG *pulProperty
);
View the official Windows Driver Kit DDI referenceNo description available.
The BdaPropertyGetPinControl function retrieves either the identifier or type of a pin.
Irp [in]Points to the IRP for the request to retrieve pin information. The BDA minidriver receives this IRP with either the KSPROPERTY_BDA_PIN_ID or KSPROPERTY_BDA_PIN_TYPE request.
Property [in]Points to a KSPROPERTY structure that describes the property and request type of the property request.
pulProperty [out, optional]Points to a variable that receives either the identifier or type of a pin.
Returns STATUS_SUCCESS or an appropriate error code.
A BDA minidriver calls the BdaPropertyGetPinControl function to retrieve either the identifier or type of a pin after the minidriver receives either a KSPROPERTY_BDA_PIN_ID or KSPROPERTY_BDA_PIN_TYPE request of the KSPROPSETID_BdaPinControl property set. Most BDA minidrivers can define pin-automation tables so that those minidrivers dispatch the BdaPropertyGetPinControl function directly, without intercepting this request using an internal get-handler (KStrGetPropertyHandler).