Wireless Device Power Management Functions API 你去微软的文档里找找相应的API。比较复杂。
Programming element Description
ChangeRadioState
This function turns a specific radio on or off.
ChangeWirelessState
This function changes the global power state of all wireless devices.
GetAndMonitorWirelessDevices
This function retrieves the list of wireless devices in the system and sets up a monitoring thread to notify the caller of subsequent insertion and removal of power-managed wireless devices.
GetWirelessDevices
This function retrieves the linked list of the wireless devices in the system.
GetWirelessState
This function retrieves the global state of wireless devices from the registry.
FreeDeviceList
This function traverses the linked list of wireless devices and releases all RDD nodes that contain device information.
OnRadioPowerTransition
This function is invoked by the shell in response to a radio power state change event.
UpdateRadioStoredState
This function updates the desired state for the specified wireless device.