次の方法で共有


BthGetMode (Compact 2013)

3/26/2014

This function retrieves the current mode of operation, such as off, connectable, or discoverable, of the Bluetooth radio.

Syntax

int BthGetMode(
  DWORD* pdwMode
);

Parameters

  • pdwMode
    [out] Pointer to the current mode of operation of the Bluetooth radio. Returns a BTH_RADIO_MODE value.

Return Value

Returns ERROR_SUCCESS on success. Otherwise, returns a standard Bluetooth error.

Requirements

Header

bthutil.h

Library

Bthutil.lib

See Also

Reference

Bluetooth API Miscellaneous Functions
BthSetMode