User manual - VB Bluetoothライブラリマニュアルver.1.00(2005年3月9日)
DT-10 ライブラリマニュアル
CASIO Bluetooth
Library for VB
9
BTInquiry
機能 Bluetooth 機器の Inquiry(問い合わせ)を実行します。
書式 BTInquiry (ByVal DeviceHandle() As IntPtr, ByRef DeviceNumber As Int32, _
ByVal InquiryTime As Integer) As Int32
パラメータ DeviceHandle [in] IntPtr[]の配列を用意する(ダミー)
DeviceNumber [out]Inquiry で発見された Bluetooth 機器の数を格納する変数
InquiryTime 常に 0 を設定してください
戻り値 BTERR_SUCCESS 正常終了
BTERR_FAILED Bluetooth 機器の Inquiry 失敗
BTERR_DRIVER ドライバーエラー
FUNCTION_UNSUPPORT 未サポートエラー
備考 DeviceNumber で小さい値を指定すると、Inquiry に成功した Bluetooth 機器のデバイスハンドルが完
全には取得できない場合があります。Inquiry 時に発見されると想定される Bluetooth デバイスの個数
よりも大きい値を指定してください。