共用方式為


bluetoothapis.h 標頭

此標頭由多個技術使用。 如需詳細資訊,請參閱

bluetoothapis.h 包含下列程式設計介面:

函式

 
BluetoothAuthenticateDevice

將驗證要求傳送至遠端藍牙裝置。
BluetoothAuthenticateDeviceEx

BluetoothAuthenticateDeviceEx 函式會將驗證要求傳送至遠端藍牙裝置。
BluetoothAuthenticateMultipleDevices

可讓呼叫端在藍牙連線精靈的單一實例期間提示多個裝置進行驗證。
BluetoothDisplayDeviceProperties

啟動主控台裝置資訊屬性工作表。
BluetoothEnableDiscovery

BluetoothEnableDiscovery 函式會變更本機藍牙無線電或無線電的探索狀態。
BluetoothEnableIncomingConnections

BluetoothEnableIncomingConnections 函式會修改本機藍牙無線電是否接受連入連線。
BluetoothEnumerateInstalledServices

BluetoothEnumerateInstalledServices 函式會列舉在藍牙裝置上啟用的全域唯一) 識別碼 (服務 GUID。
BluetoothFindDeviceClose

BluetoothFindDeviceClose 函式會關閉與裝置查詢相關聯的列舉控制碼。
BluetoothFindFirstDevice

BluetoothFindFirstDevice 函式會開始列舉藍牙裝置。
BluetoothFindFirstRadio

BluetoothFindFirstRadio 函式會開始列舉本機藍牙無線電。
BluetoothFindNextDevice

BluetoothFindNextDevice 函式會尋找下一個藍牙裝置。
BluetoothFindNextRadio

BluetoothFindNextRadio 函式會尋找下一個藍牙無線電。
BluetoothFindRadioClose

BluetoothFindRadioClose 函式會關閉與尋找藍牙無線電相關聯的列舉控制碼。
BluetoothGetDeviceInfo

擷取遠端藍牙裝置的相關資訊。
BluetoothGetRadioInfo

取得藍牙無線電的相關資訊。
BluetoothIsConnectable

BluetoothIsConnectable 函式會決定藍牙無線電或無線電是否可連線。
BluetoothIsDiscoverable

BluetoothIsDiscoverable 函式會判斷藍牙無線電或無線電是否可供探索。
BluetoothIsVersionAvailable

BluetoothIsVersionAvailable 函式指出已安裝的藍牙二進位集是否支援要求的版本。
BluetoothRegisterForAuthentication

BluetoothRegisterForAuthentication 函式會註冊特定藍牙裝置要求驗證時所呼叫的回呼函式。
BluetoothRegisterForAuthenticationEx

BluetoothRegisterForAuthenticationEx 函式會註冊 Pin 要求、數值比較和回呼函式的應用程式。
BluetoothRemoveDevice

移除藍牙裝置與電腦之間的驗證,並清除裝置的快取服務資訊。
BluetoothSdpEnumAttributes

BluetoothSdpEnumAttributes 函式會透過 SDP 記錄資料流程列舉,並針對記錄中的每個屬性呼叫回呼函式。
BluetoothSdpGetAttributeValue

BluetoothSdpGetAttributeValue 函式會擷取屬性識別碼的屬性值。
BluetoothSdpGetContainerElementData

逐一查看容器資料流程,並傳回容器專案中包含的每個元素。
BluetoothSdpGetElementData

從 SDP 資料流程擷取和剖析單一元素。
BluetoothSdpGetString

將內嵌在 SDP 記錄中的原始字串轉換成 Unicode 字串。
BluetoothSelectDevices

啟用藍牙裝置選取。
BluetoothSelectDevicesFree

釋放與先前呼叫 BluetoothSelectDevices 相關聯的資源。
BluetoothSendAuthenticationResponse

當收到傳送傳遞金鑰回應的驗證要求時,會呼叫 BluetoothSendAuthenticationResponse 函式。
BluetoothSendAuthenticationResponseEx

當驗證要求傳送傳遞金鑰或數值比較回應時,會呼叫 BluetoothSendAuthenticationResponseEx 函式。
BluetoothSetLocalServiceInfo

設定特定藍牙無線電的本機服務資訊。
BluetoothSetServiceState

啟用或停用藍牙裝置的服務。
BluetoothUnregisterAuthentication

BluetoothUnregisterAuthentication 函式會移除先前向 BluetoothRegisterForAuthentication 函式呼叫註冊的回呼常式註冊。
BluetoothUpdateDeviceRecord

更新有關藍牙裝置的本機電腦快取。

回呼函式

 
PFN_AUTHENTICATION_CALLBACK

與 BluetoothRegisterForAuthentication 函式搭配使用。
PFN_AUTHENTICATION_CALLBACK_EX

PFN_AUTHENTICATION_CALLBACK_EX函式是與 BluetoothRegisterForAuthenticationEx 函式搭配使用的回呼函式原型。
PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK

針對傳遞給 BluetoothSdpEnumAttributes 函式呼叫的 pSDPStream 參數中找到的每個屬性呼叫一次回呼函式原型。
PFN_DEVICE_CALLBACK

與選取藍牙裝置相關聯的回呼原型。

結構

 
BLUETOOTH_ADDRESS_STRUCT

BLUETOOTH_ADDRESS 結構提供藍牙裝置的位址。
BLUETOOTH_AUTHENTICATE_RESPONSE

BLUETOOTH_AUTHENTICATE_RESPONSE 結構包含傳遞的資訊,以回應BTH_REMOTE_AUTHENTICATE_REQUEST事件。
BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS

BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS 結構包含有關回應驗證要求之藍牙裝置的特定組態資訊。
BLUETOOTH_COD_PAIRS

BLUETOOTH_COD_PAIRS 結構提供規格和擷取藍牙類別裝置 (COD) 資訊。
BLUETOOTH_DEVICE_INFO_STRUCT

BLUETOOTH_DEVICE_INFO 結構提供藍牙裝置的相關資訊。
BLUETOOTH_DEVICE_SEARCH_PARAMS

指定藍牙裝置搜尋的搜尋準則。
BLUETOOTH_FIND_RADIO_PARAMS

BLUETOOTH_FIND_RADIO_PARAMS 結構有助於列舉已安裝的藍牙無線電。
BLUETOOTH_LOCAL_SERVICE_INFO_STRUCT

包含藍牙裝置的本機服務資訊。
BLUETOOTH_NUMERIC_COMPARISON_INFO

BLUETOOTH_NUMERIC_COMPARISON_INFO 結構包含透過數值比較用於驗證的數值。
BLUETOOTH_OOB_DATA_INFO

BLUETOOTH_OOB_DATA_INFO結構包含用來在建立頻外裝置配對之前用來驗證的資料。
BLUETOOTH_PASSKEY_INFO

BLUETOOTH_PASSKEY_INFO 結構包含用於驗證的傳遞碼值。 傳遞金鑰類似于密碼,不同之處在于傳遞金鑰值只會用於驗證一次。
BLUETOOTH_PIN_INFO

BLUETOOTH_PIN_INFO 結構包含透過 PIN 進行驗證的資訊。
BLUETOOTH_RADIO_INFO

包含藍牙無線電的相關資訊。
BLUETOOTH_SELECT_DEVICE_PARAMS

協助及管理藍牙裝置和服務的可見度、驗證及選擇。
SDP_ELEMENT_DATA

SDP_ELEMENT_DATA 結構會儲存 SDP 元素資料。
SDP_STRING_TYPE_DATA

SDP_STRING_TYPE_DATA 結構會儲存 SDP 字串類型的相關資訊。

列舉

 
BLUETOOTH_AUTHENTICATION_METHOD

BLUETOOTH_AUTHENTICATION_METHOD列舉會在裝置配對期間定義支援的驗證類型。
BLUETOOTH_AUTHENTICATION_REQUIREMENTS

BLUETOOTH_AUTHENTICATION_REQUIREMENTS列舉指定驗證所需的「中間人」保護。
BLUETOOTH_IO_CAPABILITY

BLUETOOTH_IO_CAPABILITY列舉會定義藍牙裝置的輸入/輸出功能。