PBYTESWAPUUID128 callback function (bthsdpddi.h)

The Bluetooth SdpByteSwapUuid128 function is used to reverse the byte order of a 128-bit universally unique identifier (UUID).

Syntax

PBYTESWAPUUID128 Pbyteswapuuid128;

void Pbyteswapuuid128(
  GUID *pUuidFrom,
  GUID *pUuiidTo
)
{...}

Parameters

pUuidFrom

A pointer to the 128-bit GUID for which to reverse the byte order.

pUuiidTo

A pointer to the converted 128-bit GUID.

Return value

None

Remarks

The SdpByteSwapUuid128 function always reverses the byte order of the value pointed to by the pUuidFrom parameter. Use this function to convert 128-bit GUID values from the byte order on the local computer to the byte order of the network to which the computer is connected.

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

See also