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

40
5.15 BTRegisterLocalInfo
Bluetooth デバイス情報をレジストリに登録します。
[C++]
LONG BTRegisterLocalInfo()
[Visual Basic]
Public Shared Function BTRegisterLocalInfo() As Int32
[C#]
public static Int32 BTRegisterLocalInfo()
解説
本体の Bluetooth デバイス情報をレジストリに登録します。登録したデバイス情報は、次回 BTInitialize
関数を実行したときに再設定されます。
Device Emulator ではBTReg.ini ファイルに情報を書き込みます。
パラメータ
なし
戻り値
BTERR_SUCCESS
正常終了
BTERR_FAILED
デバイス情報登録失敗
BTERR_DRIVER
ドライバーエラー
DeviceEmulator では発生しません
FUNCTION_UNSUPPORT
未サポートエラー
補足
Bluetooth デバイス情報を変更してレジストリに登録する場合は、本関数を実行する前に
BTSetLocalInfo 関数を実
行して、Bluetooth デバイス情報を変更してください。
対応情報
機種
DT-5200 / DT-X7 / DT-9800 / DT-5300 / IT-300 / DT-X8 / IT-9000
ヘッダ
BluetoothLib.h
ライブラリ
BluetoothLib.lib