Funzione BluetoothSdpGetElementData (bluetoothapis.h)

La funzione BluetoothSdpGetElementData recupera e analizza un singolo elemento da un flusso SDP.

Sintassi

DWORD BluetoothSdpGetElementData(
  [in]  LPBYTE            pSdpStream,
  [in]  ULONG             cbSdpStreamLength,
  [out] PSDP_ELEMENT_DATA pData
);

Parametri

[in] pSdpStream

Puntatore a un flusso SDP valido.

[in] cbSdpStreamLength

Lunghezza, in byte, di pSdpStream.

[out] pData

Puntatore a un buffer da riempire con i dati dell'elemento SDP trovato all'inizio del flusso SDP pSdpStream .

Valore restituito

Restituisce ERROR_SUCCESS quando l'elemento SDP viene analizzato correttamente. Restituisce ERROR_INVALID_PARAMETER se uno dei parametri obbligatori è NULL o se il flusso SDP a cui punta pSdpStream non è valido.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista, Windows XP con SP2 [solo app desktop]
Server minimo supportato Nessuno supportato
Piattaforma di destinazione Windows
Intestazione bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)
Libreria Bthprops.lib
DLL bthprops.cpl

Vedi anche

BluetoothSdpEnumAttributes

BluetoothSdpGetContainerElementData

BluetoothSdpGetString

SDP_ELEMENT_DATA

SDP_STRING_TYPE_DATA