BluetoothSdpGetString function bluetooth
The BluetoothSdpGetString function converts a raw string embedded in the SDP record into a Unicode string.
DWORD BluetoothSdpGetString(
[in] LPBYTE pRecordStream,
[in] ULONG cbRecordLength,
[in] const PSDP_STRING_TYPE_DATA pStringData,
[in] USHORT usStringOffset,
[out] PWSTR pszString,
[in, out] PULONG pcchStringLength
);
Implementation
int BluetoothSdpGetString(
Pointer<Uint8> pRecordStream,
int cbRecordLength,
Pointer<SDP_STRING_TYPE_DATA> pStringData,
int usStringOffset,
Pointer<Utf16> pszString,
Pointer<Uint32> pcchStringLength,
) => _BluetoothSdpGetString(
pRecordStream,
cbRecordLength,
pStringData,
usStringOffset,
pszString,
pcchStringLength,
);