PBYTESWAPUINT128 callback function (bthsdpddi.h)
The Bluetooth SdpByteSwapUint128 function is used to reverse the byte order of an unsigned 128-bit integer.
Syntax
PBYTESWAPUINT128 Pbyteswapuint128;
void Pbyteswapuint128(
PSDP_ULARGE_INTEGER_16 pInUint128,
PSDP_ULARGE_INTEGER_16 pOutUint128
)
{...}
Parameters
pInUint128
A pointer to an unsigned 128-bit integer for which to reverse the byte order.
pOutUint128
A pointer to a variable that receives the converted 128-bit integer.
Return value
None
Remarks
The SdpByteSwapUint128 function always reverses the byte order of the value passed in the pInUint128 parameter. Writers of Bluetooth device drivers can use this function to convert unsigned 128-bit integer values from the byte order on the local computer to the byte order of the network that the computer is connected to.
Bluetooth profile drivers can obtain a pointer to this function through the BTHDDI_SDP_PARSE_INTERFACE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Versions:_Supported in Windows Vista, and later. |
Target Platform | Desktop |
Header | bthsdpddi.h (include BthSdpddi.h) |
IRQL | <= PASSIVE_LEVEL |