PBYTESWAPUINT64 callback function (bthsdpddi.h)

The Bluetooth SdpByteSwapUint64 function is used to reverse the byte order of an unsigned 64-bit integer.

Syntax

PBYTESWAPUINT64 Pbyteswapuint64;

ULONGLONG Pbyteswapuint64(
  ULONGLONG uint64
)
{...}

Parameters

uint64

The unsigned 64-bit integer for which to reverse the byte order.

Return value

SdpByteSwapUint64 returns a converted unsigned 64-bit integer.

Remarks

The SdpByteSwapUint64 function always reverses the byte order of the value passed in the uint64 parameter. Writers of Bluetooth device drivers can use this function to convert unsigned 64-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

See also

BTHDDI_SDP_PARSE_INTERFACE