BTDeviceNameConverter Class Reference
Link against: btdevice.lib
class BTDeviceNameConverter |
Detailed Description
Utility class to convert between a wide TBTDeviceName and a narrow TBTDeviceName8.
Member Function Documentation
ToUTF8L ( const TBTDeviceName & )
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"
Parameter | Description | aName | "The name to be converted" |
Returns: "The converted name"
ToUnicodeL ( const TBTDeviceName8 & )
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"
Parameter | Description | aName | "The name to be converted" |
Returns: "The converted name"