BthGetMode

Use the BthGetMode function to retrieve the current mode of operation of the Bluetooth radio.

Syntax

int BthGetMode(
  DWORD* pdwMode
);

Parameters

  • pdwMode
    [out] Indicates the current mode of operation of the Bluetooth radio. See BTH_RADIO_MODE for possible values.

Return Values

Returns ERROR_SUCCESS on success or returns an error code on failure.

Requirements

Pocket PC: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: Declared in bthutil.h
Library: Use bthutil.lib

See Also

BTH_RADIO_MODE | BthSetMode

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.