Partager via


IBTDevice::GetName (Compact 2013)

3/26/2014

This method retrieves the name of the Bluetooth device.

Syntax

HRESULT GetName(
  LPWSTR szDeviceName, 
  DWORD dwMaxLen
);

Parameters

  • szDeviceName
    [out] Name of the Bluetooth device.
  • dwMaxLen
    [out] Size of szDeviceName in characters.

Return Value

Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.

See Also

Reference

IBTDevice

Other Resources

Bluetooth