共用方式為


BRB_SCO_CLOSE_CHANNEL

Profile drivers use the BRB_SCO_CLOSE_CHANNEL request to close a single SCO channel to a remote device.

Input Parameters

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

Output Parameters

The IRP's Parameters->Others.Argument1 member points to the same _BRB_SCO_CLOSE_CHANNEL structure passed as input.

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_NOT_SUPPORTED

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

STATUS_PENDING

The BRB is pending.

STATUS_INVALID_PARAMETER

The profile driver passed an invalid parameter.

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_CLOSE_CHANNEL request to close a single SCO channel to a remote device.

Requirements

Version

Versions: Supported in Windows Vista, and later.

Header

BthDdi.h (include BthDdi.h)

IRQL

<= PASSIVE_LEVEL

See also

_BRB_SCO_CLOSE_CHANNEL

 

 

Send comments about this topic to Microsoft