|
#pragma once
#include <string>
#include <pm.h>
/// Modify the power state of the NDIS WLAN radio
class NdisRadioPower
{
public:
/// Is the NDIS WLAN radio enabled?
bool IsRadioEnabled() const;
/// enable the NDIS WLAN radio
void Enable() const;
/// disable the NDIS WLAN radio
void Disable() const;
private:
/// change the NDIS WLAN radio power state
void DoChangePowerState( const CEDEVICE_POWER_STATE& power_state ) const;
/// cached name associated with the NDIS 802.11 radio.
mutable std::wstring radio_name_;
}; // class NdisRadioPower
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.