BdaPropertyGetPinControl - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bdasup.h

NTSTATUS BdaPropertyGetPinControl(
  [in]            PIRP        Irp,
  [in]            PKSPROPERTY Property,
  [out, optional] ULONG       *pulProperty
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-bdasup-bdapropertygetpincontrol)

Description

The BdaPropertyGetPinControl function retrieves either the identifier or type of a pin.

Parameters

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.

Return value

Returns STATUS_SUCCESS or an appropriate error code.

Remarks

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

See also

KSPROPERTY

KSPROPERTY_BDA_PIN_ID

KSPROPERTY_BDA_PIN_TYPE

KSPROPSETID_BdaPinControl