BTDeviceNameConverter Class Reference

class BTDeviceNameConverter

Utility class to convert between a wide TBTDeviceName and a narrow TBTDeviceName8.

Public Member Functions
IMPORT_C TBTDeviceName8ToUTF8L(const TBTDeviceName &)
IMPORT_C TBTDeviceNameToUnicodeL(const TBTDeviceName8 &)

Member Functions Documentation

ToUTF8L(const TBTDeviceName &)

IMPORT_C TBTDeviceName8ToUTF8L(const TBTDeviceName &aName)[static]
Convert a wide TBTDeviceName to a narrow TBTDeviceName8. Uses unicode->utf8 conversion.
leave
"This method will leave if an error occurs with the unicode->utf8 conversion"

Parameters

const TBTDeviceName & aName"The name to be converted"

ToUnicodeL(const TBTDeviceName8 &)

IMPORT_C TBTDeviceNameToUnicodeL(const TBTDeviceName8 &aName)[static]
Convert a narrow TBTDeviceName8 to a wide TBTDeviceName. Uses utf8->unicode conversion.
leave
"This method will leave if an error occurs with the utf8->unicode conversion"

Parameters

const TBTDeviceName8 & aName"The name to be converted"