共用方式為


BRB_SCO_FLUSH_CHANNEL

Profile drivers use the BRB_SCO_FLUSH_CHANNEL request to flush the read and write pipes of the SCO channel. All pending data transfer IRPs will be completed with STATUS_REQUEST_ABORTED. In-progress IRPs will be completed normally, with success or failure depending on whether the Bluetooth driver stack was able to transfer data to or from the remote device.

Input Parameters

The IRP's Parameters->Others.Argument1 member points to a _BRB_SCO_FLUSH_CHANNEL structure.

Output Parameters

None.

I/O Status Block

If the request is successful, the Information member of the STATUS_BLOCK structure is set to the size, in bytes, of the output buffer. Otherwise, the Information member is set to zero.

The Status member is set to one of the values in the following table.

Status value Description

STATUS_SUCCESS

The BRB completed successfully.

STATUS_INVALID_PARAMETER

The profile driver passed an invalid parameter.

STATUS_NOT_SUPPORTED

The requested operation is not supported on systems that do not support SCO.

STATUS_INVALID_BUFFER_SIZE

The length of the supplied buffer was too small.

STATUS_DEVICE_NOT_CONNECTED

The specified remote device is not connected.

 

Operation

Profile drivers use the BRB_SCO_FLUSH_CHANNEL request to flush the read and write pipes of the SCO channel. All pending data transfer IRPs will be completed with STATUS_REQUEST_ABORTED. In-progress IRPs will be completed normally, with success or failure depending on whether the Bluetooth driver stack was able to transfer data to or from the remote device.

Requirements

Version

Versions: Supported in Windows Vista, and later.

Header

BthDdi.h (include BthDdi.h)

IRQL

<= PASSIVE_LEVEL

See also

_BRB_SCO_FLUSH_CHANNEL

 

 

Send comments about this topic to Microsoft