共用方式為


BRB_GET_DEVICE_INTERFACE_STRING

Profile drivers use the BRB_GET_DEVICE_INTERFACE_STRING request to get the device interface string for the current device object.

Input Parameters

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

Output Parameters

The IRP's Parameters->Others.Argument1 member points to the same _BRB_GET_DEVICE_INTERFACE_STRING structure passed as input. After the IOCTL_INTERNAL_BTH_SUBMIT_BRB call returns, the DeviceInterfaceString member of the structure contains the device interface string.

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_BUFFER_TOO_SMALL

The input buffer passed in was too small.

STATUS_INVALID_PARAMETER

The profile driver passed an invalid parameter.

STATUS_MORE_ENTRIES

There are more entries than the size of the input buffer can hold.

 

Operation

Profile drivers use the BRB_GET_DEVICE_INTERFACE_STRING request to get the device interface string for the current device object.

Requirements

Version

Versions: Supported in Windows Vista, and later.

Header

BthDdi.h (include BthDdi.h)

IRQL

<= PASSIVE_LEVEL

See also

_BRB_GET_DEVICE_INTERFACE_STRING

 

 

Send comments about this topic to Microsoft