KSPROPERTY_ONESHOT_DISCONNECT
The KSPROPERTY_ONESHOT_DISCONNECT property is used to prompt the audio driver to disconnect from the Bluetooth audio device.
Usage Summary Table
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
Yes |
No |
Filter |
NULL |
No property value is sent with this property request.
Return Value
The KSPROPERTY_ONESHOT_DISCONNECT property returns STATUS_SUCCESS if the request is successful.
Note
A successful request means that the driver made an attempt to disconnect from the Bluetooth audio device, but does not necessarily mean that the attempt was successful.
Remarks
You can implement the KSPROPERTY_JACK_DESCRIPTION pin property in your driver. This implementation allows you to check the connection status of the endpoint after you make a KSPROPERTY_ONESHOT_DISCONNECT property request.
Requirements
Version |
Available in Windows 7 and later versions of Windows. |
Header |
Ksmedia.h (include Ksmedia.h) |