BthGetMode
This function is used to retrieve the current mode of operation of the Bluetooth radio.
int BthGetMode(
DWORD* pdwMode
);
Parameters
- pdwMode
[out] Indicates the current mode of operation of the Bluetooth radio.
Return Values
Returns ERROR_SUCCESS on success or returns an error code on failure.
Remarks
The possible values returned by this function are defined in the BTH_RADIO_MODE enumeration. Use the BthSetMode function to set the mode of operation.
Requirements
Pocket PC: Windows Mobile 2003 and later
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
Bluetooth Application Development Functions | Changing the Bluetooth Radio Mode
Send Feedback on this topic to the authors