User manual - Bluetoothライブラリマニュアルver.1.08(2014年8月6日)

26
5.6 BTGetDeviceInfo
Bluetooth 機器のデバイス情報を取得します。
[C++]
LONG BTGetDeviceInfo(
BTST_DEVICEINFO *
DeviceInfo
,
DWORD
DeviceNumber
,
HANDLE *
DeviceHandle
)
[Visual Basic]
Overloads Public Shared Function BTGetDeviceInfo( _
ByVal
DeviceInfo
As BluetoothLibNet.BTST_DEVICEINFO(), _
ByVal
DeviceNumber
As Int32, _
ByVal
DeviceHandle
As Int32() _
) As Int32
[C#]
public static Int32 BTGetDeviceInfo(
BluetoothLibNet.BTST_DEVICEINFO[]
DeviceInfo
,
Int32
DeviceNumber
,
Int32[]
DeviceHandle
);
解説
BTInquiry 関数で発見された Bluetooth 機器のデバイス情報を取得
します。BTInquiry 関数を実行後、
必ず本関数を実行して Bluetooth 機器情報を取得してください。
Device Emulator ではBTDeviceInfo[n].ini ファイルの情報を読み込みます。詳細は
BTDeviceInfo[n].ini を参
照してください。
本関数で取得できるデバイス情報は、以下の通りです。
機器名
機器アドレス
デバイスクラス