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

Smartphone: 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

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.