次の方法で共有


BthSetLocalName (Compact 2013)

3/26/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