共用方式為


藍牙函式

本節中的函式用於管理藍牙裝置和服務。

使用 Windows Sockets 程式設計介面也支援藍牙。 如需使用 Windows Sockets 介面進行藍牙程式設計的詳細資訊,請參閱 Windows Sockets Support for Bluetooth

部分 內容
BluetoothAuthenticateDevice 將驗證要求傳送至遠端藍牙裝置。
BluetoothAuthenticateDeviceEx 將驗證要求傳送至遠端藍牙裝置。 此外,此函式允許將頻外數據傳入正在驗證裝置的函式呼叫。
BluetoothAuthenticateMultipleDevices 可讓呼叫端提示在藍牙連線精靈的單一實例期間驗證多個裝置。
BluetoothDisplayDeviceProperties 叫用控制面板裝置資訊屬性表。
BluetoothEnableDiscovery 變更本機藍牙無線電或無線電的探索狀態。
BluetoothEnableIncomingConnections 修改本機藍牙無線電是否接受連入連線。
BluetoothEnumerateInstalledServices 列舉藍牙裝置上啟用之服務的 GUID(全域唯一標識符)。
BluetoothFindDeviceClose 關閉與裝置查詢相關聯的列舉句柄。
BluetoothFindFirstDevice 開始列舉本機藍牙裝置。
BluetoothFindFirstRadio 開始列舉本機藍牙無線電。
BluetoothFindNextDevice 尋找下一個藍牙裝置。
BluetoothFindNextRadio 尋找下一個藍牙無線電。
BluetoothFindRadioClose 關閉與尋找藍牙無線電相關聯的列舉句柄。
BluetoothGetDeviceInfo 擷取遠端藍牙裝置的相關信息。 藍牙裝置先前必須透過成功的裝置查詢函式呼叫來識別。
BluetoothGetRadioInfo 取得藍牙無線電的相關信息。
BluetoothIsConnectable 判斷藍牙無線電或無線電是否可連線。
BluetoothIsDiscoverable 判斷藍牙無線電或無線電是否可供探索。
BluetoothRegisterForAuthentication 註冊特定藍牙裝置要求驗證時所呼叫的回呼函式。
BluetoothRegisterForAuthenticationEx 註冊針腳要求、數值比較和回呼函式的應用程式。
BluetoothRemoveDevice 拿掉藍牙裝置與計算機之間的驗證,清除裝置的任何快取資訊。
BluetoothSdpEnumAttributes 透過 SDP 記錄數據流列舉,並針對記錄中的每個屬性呼叫回調函式。
BluetoothSdpGetAttributeValue 擷取屬性標識碼的屬性值。
BluetoothSdpGetContainerElementData 逐一查看容器數據流,並傳回容器專案中包含的每個專案。
BluetoothSdpGetElementData 從 SDP 數據流擷取和剖析單一專案。
BluetoothSdpGetString 將內嵌在 SDP 記錄中的原始字串轉換成 Unicode 字串。
BluetoothSelectDevices 啟用藍牙裝置選取。
BluetoothSelectDevicesFree 釋放與先前對 bluetoothSelectDevices 函式呼叫相關聯的資源。
BluetoothSendAuthenticationResponse 收到傳送複雜金鑰回應的驗證要求時呼叫。
BluetoothSendAuthenticationResponseEx 收到傳送複雜金鑰或數值比較響應的驗證要求時呼叫。
BluetoothSetLocalServiceInfo 設定特定藍牙無線電的本地服務資訊。
BluetoothSetServiceState 啟用或停用藍牙裝置的服務。
BluetoothUnregisterAuthentication 拿掉先前以呼叫 BluetoothRegisterForAuthentication 函式註冊的回呼例程註冊。
BluetoothUpdateDeviceRecord 更新有關藍牙裝置的本機計算機快取。