Share via


BthSetLocalName (Compact 7)

3/12/2014

This function sets the local Bluetooth device name.

Syntax

int BthSetLocalName (
  LPWSTR pwszName
);

Parameters

  • pwszName
    [in] New local device name.

Return Value

The following table shows the possible return values.

Value Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

ERROR_TIMEOUT

The command to the controller timed out.

Requirements

Header

bthutil_p.h

Library

Bthutil.lib

See Also

Reference

Bluetooth API Miscellaneous Functions