⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wrlspwr.h

📁 evc4 console app that monitors battery status and writes a csv log file and broadcasts every measure
💻 H
字号:
//WRLSPWR.H
#pragma once

// Types of radio device
typedef enum _RADIODEVTYPE
{
	RADIODEVICES_MANAGED = 1,
	RADIODEVICES_PHONE,
	RADIODEVICES_BLUETOOTH,
} RADIODEVTYPE;

// whether to save before or after changing state
typedef enum _SAVEACTION
{
	RADIODEVICES_DONT_SAVE = 0,
	RADIODEVICES_PRE_SAVE,
	RADIODEVICES_POST_SAVE,
} SAVEACTION;

// Details of radio devices
struct RDD
{
	RDD() : pszDeviceName(NULL), pNext(NULL), pszDisplayName(NULL) {}
	~RDD()
	{
		LocalFree(pszDeviceName); 
		LocalFree(pszDisplayName); 
	}
	LPTSTR pszDeviceName; // Device name for registry setting.
	LPTSTR pszDisplayName; // Name to show the world
	DWORD dwState; // ON/off/[Discoverable for BT]
	DWORD dwDesired; // desired state - used for setting registry etc.
	RADIODEVTYPE DeviceType; // Managed, phone, BT etc.
	RDD * pNext; // Next device in list
}; //radio device details

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -