WiFi Framework C++ Edition
Public Member Functions | Protected Member Functions | List of all members
CwclWiFiEvents Class Reference

The CwclWiFiEvents component provides access to the Wireless LAN notifications. More...

#include <wclWiFi.h>

Inheritance diagram for CwclWiFiEvents:
CwclCustomWiFiComponent

Public Member Functions

 CwclWiFiEvents ()
 Creates a new CwclWiFiEvents component.
 
__event void OnAcmAdHocNetworkStateChange (void *Sender, const GUID &IfaceId, const wclWiFiAdHocNetworkState State)
 The event fires when a state change has occurred for an ad-hoc network.
 
__event void OnAcmAutoconfDisabled (void *Sender, const GUID &IfaceId)
 The event fires when auto configuration is disabled on the auto configuration module (ACM).
 
__event void OnAcmAutoconfEnabled (void *Sender, const GUID &IfaceId)
 The event fires when auto configuration is enabled on the auto configuration module (ACM).
 
__event void OnAcmBackgroundScanDisabled (void *Sender, const GUID &IfaceId)
 The event fires when background scans are disabled on the auto configuration module (ACM).
 
__event void OnAcmBackgroundScanEnabled (void *Sender, const GUID &IfaceId)
 The event fires when background scans are enabled on the auto configuration module (ACM).
 
__event void OnAcmBssTypeChange (void *Sender, const GUID &IfaceId, const wclWiFiBssType BssType)
 The event fires when the BSS type for an interface has changed.
 
__event void OnAcmConnectionAttemptFail (void *Sender, const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 The event fires when a connection attempt has failed.
 
__event void OnAcmConnectionComplete (void *Sender, const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 The event fires when a connection has completed.
 
__event void OnAcmConnectionStart (void *Sender, const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 The event fires when a connection has started to a network in range.
 
__event void OnAcmDisconnected (void *Sender, const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 The event fires when the wireless service has disconnected from a connectable network.
 
__event void OnAcmDisconnecting (void *Sender, const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 The event fires when the wireless service is disconnecting from a connectable network.
 
__event void OnAcmFilterListChange (void *Sender, const GUID &IfaceId)
 The event fires when a change in the filter list has occurred, either through group policy or a call to the WiFI functions.
 
__event void OnAcmInterfaceArrival (void *Sender, const GUID &IfaceId)
 The event fires when a wireless LAN interface is been added to or enabled on the local computer.
 
__event void OnAcmInterfaceRemoval (void *Sender, const GUID &IfaceId)
 The event fires when a wireless LAN interface has been removed or disabled on the local computer.
 
__event void OnAcmNetworkAvailable (void *Sender, const GUID &IfaceId)
 The event fires when the wireless service found a connectable network after a scan, the interface was in the disconnected state, and there is no compatible auto-connect profile that the wireless service can use to connect.
 
__event void OnAcmNetworkNotAvailable (void *Sender, const GUID &IfaceId)
 The event fires when the wireless service cannot find any connectable network after a scan.
 
__event void OnAcmOperationalStateChange (void *Sender, const GUID &IfaceId)
 The event fires when the operational state has changed.
 
__event void OnAcmPowerSettingChange (void *Sender, const GUID &IfaceId, const wclWiFiPowerSetting Setting)
 The event fires when the power setting for an interface has changed.
 
__event void OnAcmProfileBlocked (void *Sender, const GUID &IfaceId)
 The event fires when a profile has been blocked.
 
__event void OnAcmProfileChange (void *Sender, const GUID &IfaceId)
 The event fires when a change in a profile or the profile list has occurred, either through group policy or by calls to Native Wi-Fi functions.
 
__event void OnAcmProfileNameChange (void *Sender, const GUID &IfaceId, const tstring &OldName, const tstring &NewName)
 The event fires when a profile name has changed, either through group policy or by calls to Native Wi-Fi functions.
 
__event void OnAcmProfilesExhausted (void *Sender, const GUID &IfaceId)
 The event fires when all profiles were exhausted in an attempt to auto connect.
 
__event void OnAcmProfileUnblocked (void *Sender, const GUID &IfaceId)
 The event fires when a profile has been unblocked.
 
__event void OnAcmScanComplete (void *Sender, const GUID &IfaceId)
 The event fires when a scan for networks has completed.
 
__event void OnAcmScanFail (void *Sender, const GUID &IfaceId, const int Reason)
 The event fires when a scan for connectable networks failed.
 
__event void OnAcmScanListRefresh (void *Sender, const GUID &IfaceId)
 The event fires when a scan list has been refreshed.
 
__event void OnAcmScreenPowerChange (void *Sender, const GUID &IfaceId, const bool SwitchedOn)
 The event fires when the screen power has changed.
 
__event void OnHostedNetworkPeerStateChange (void *Sender, const GUID &IfaceId, const wclWiFiHostedNetworkPeerState &OldState, const wclWiFiHostedNetworkPeerState &NewState, const int Reason)
 The event fires when the wireless Hosted Network peer state has changed.
 
__event void OnHostedNetworkRadioStateChange (void *Sender, const GUID &IfaceId, const wclWiFiRadioState SoftwareState, const wclWiFiRadioState HardwareState)
 The event fires when the wireless Hosted Network radio state has changed.
 
__event void OnHostedNetworkStateChange (void *Sender, const GUID &IfaceId, const wclWiFiHostedNetworkState OldState, const wclWiFiHostedNetworkState NewState, const int Reason)
 The event fires when the wireless Hosted Network state has changed.
 
__event void OnMsmAdapterOperationModeChange (void *Sender, const GUID &IfaceId, const wclWiFiOperationMode Mode)
 The event fires when the operation mode of the wireless device has changed.
 
__event void OnMsmAdapterRemoval (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when a wireless adapter has been removed from the local computer.
 
__event void OnMsmAssociated (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device has associated with an access point or a peer station.
 
__event void OnMsmAssociating (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when a wireless device is in the process of associating with an access point or a peer station.
 
__event void OnMsmAuthenticating (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device is in the process of authenticating.
 
__event void OnMsmConnected (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device is associated with an access point or a peer station, keys have been exchanged, and the wireless device is available to send data.
 
__event void OnMsmDisassociating (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when a wireless device is in the process of disassociating from an access point or a peer station.
 
__event void OnMsmDisconnected (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device is not associated with an access point or a peer station.
 
__event void OnMsmLinkDegraded (void *Sender, const GUID &IfaceId)
 The event fires when the link was degraded.
 
__event void OnMsmLinkImproved (void *Sender, const GUID &IfaceId)
 The event fires when the link was improved.
 
__event void OnMsmPeerJoin (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when a peer has joined an ad-hoc network.
 
__event void OnMsmPeerLeave (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when a peer has left an ad-hoc network.
 
__event void OnMsmRadioStateChange (void *Sender, const GUID &IfaceId, const wclWiFiPhyRadioState &State)
 The event fires when the radio state for an adapter has changed. Each physical layer (PHY) has its own radio state. The radio for an adapter is switched off when the radio state of every PHY is off.
 
__event void OnMsmRoamingEnd (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device was connected to an access point and has completed roaming to another access point.
 
__event void OnMsmRoamingStart (void *Sender, const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 The event fires when the wireless device is connected to an access point and has initiated roaming to another access point.
 
__event void OnMsmSignalQualityChange (void *Sender, const GUID &IfaceId, const unsigned long Quality)
 The event fires when a signal quality change for the currently associated access point or peer station.
 
__event void OnOneXAuthRestarted (void *Sender, const GUID &IfaceId, const int Reason)
 The event fires when the 802.1X authentication process was restarted.
 
__event void OnOneXAuthUpdate (void *Sender, const GUID &IfaceId, const wclWiFiOneXStatusUpdate &State)
 The event fires when the 802.1X authentication status has been updated.
 
__event void OnIpChanged (void *Sender, const GUID &IfaceId, const wclWiFiIpSettings &Old, const wclWiFiIpSettings &New)
 The event fires when IP settings has been changed.
 
- Public Member Functions inherited from CwclCustomWiFiComponent
 CwclCustomWiFiComponent ()
 Creates a new component.
 
virtual ~CwclCustomWiFiComponent ()
 Frees the component.
 
int Close ()
 Closes the component.
 
int Open ()
 Opens the component.
 
bool GetActive () const
 Gets the component state.
 
 __declspec (property(get=GetActive)) bool Active
 Gets the component state.
 
__event void AfterOpen (void *Sender)
 The event fires after the component was successfully opened.
 
__event void BeforeClose (void *Sender)
 The even fires before the component will be closed.
 

Protected Member Functions

virtual int InternalClose () override
 Executes additional finalization procedures.
 
virtual int InternalOpen () override
 Executes additional initialization procedures.
 
virtual void DoAcmAdHocNetworkStateChange (const GUID &IfaceId, const wclWiFiAdHocNetworkState State)
 Fires the OnAcmAdHocNetworkStateChange event.
 
virtual void DoAcmAutoconfDisabled (const GUID &IfaceId)
 Fires the OnAcmAutoconfDisabled event.
 
virtual void DoAcmAutoconfEnabled (const GUID &IfaceId)
 Fires the OnAcmAutoconfEnabled event.
 
virtual void DoAcmBackgroundScanDisabled (const GUID &IfaceId)
 Fires the OnAcmBackgroundScanDisabled event.
 
virtual void DoAcmBackgroundScanEnabled (const GUID &IfaceId)
 Fires the OnAcmBackgroundScanEnabled event.
 
virtual void DoAcmBssTypeChange (const GUID &IfaceId, const wclWiFiBssType BssType)
 Fires the OnAcmBssTypeChange event.
 
virtual void DoAcmConnectionAttemptFail (const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 Fires the OnAcmConnectionAttemptFail event.
 
virtual void DoAcmConnectionComplete (const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 Fires the OnAcmConnectionComplete event.
 
virtual void DoAcmConnectionStart (const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 Fires the OnAcmConnectionStart event.
 
virtual void DoAcmDisconnected (const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 Fires the OnAcmDisconnected event.
 
virtual void DoAcmDisconnecting (const GUID &IfaceId, const wclWiFiAcmConnectionEventData &Data)
 Fires the OnAcmDisconnecting event.
 
virtual void DoAcmFilterListChange (const GUID &IfaceId)
 Fires the OnAcmFilterListChange event.
 
virtual void DoAcmInterfaceArrival (const GUID &IfaceId)
 Fires the OnAcmInterfaceArrival event.
 
virtual void DoAcmInterfaceRemoval (const GUID &IfaceId)
 Fires the OnAcmInterfaceRemoval event.
 
virtual void DoAcmNetworkAvailable (const GUID &IfaceId)
 Fires the OnAcmNetworkAvailable event.
 
virtual void DoAcmNetworkNotAvailable (const GUID &IfaceId)
 Fires the OnAcmNetworkNotAvailable event.
 
virtual void DoAcmOperationalStateChange (const GUID &IfaceId)
 Fires the OnAcmOperationalStateChange event.
 
virtual void DoAcmPowerSettingChange (const GUID &IfaceId, const wclWiFiPowerSetting Setting)
 Fires the OnAcmPowerSettingChange event.
 
virtual void DoAcmProfileBlocked (const GUID &IfaceId)
 Fires the OnAcmProfileBlocked event.
 
virtual void DoAcmProfileChange (const GUID &IfaceId)
 Fires the OnAcmProfileChange event.
 
virtual void DoAcmProfileNameChange (const GUID &IfaceId, const tstring &OldName, const tstring &NewName)
 Fires then OnAcmProfileNameChange event.
 
virtual void DoAcmProfilesExhausted (const GUID &IfaceId)
 Fires the OnAcmProfilesExhausted event.
 
virtual void DoAcmProfileUnblocked (const GUID &IfaceId)
 Fires the OnAcmProfileUnblocked event.
 
virtual void DoAcmScanComplete (const GUID &IfaceId)
 Fires the OnAcmScanComplete event.
 
virtual void DoAcmScanFail (const GUID &IfaceId, const int Reason)
 Fires the OnAcmScanFail event.
 
virtual void DoAcmScanListRefresh (const GUID &IfaceId)
 Fires the OnAcmScanListRefresh event.
 
virtual void DoAcmScreenPowerChange (const GUID &IfaceId, const bool SwitchedOn)
 Fires the OnAcmScreenPowerChange event.
 
virtual void DoHostedNetworkPeerStateChange (const GUID &IfaceId, const wclWiFiHostedNetworkPeerState &OldState, const wclWiFiHostedNetworkPeerState &NewState, const int Reason)
 Fires the OnHostednetworkPeerStateChange event.
 
virtual void DoHostedNetworkRadioStateChange (const GUID &IfaceId, const wclWiFiRadioState SoftwareState, const wclWiFiRadioState HardwareState)
 Fires the OnHostedNetworkRadioStateChange event.
 
virtual void DoHostedNetworkStateChange (const GUID &IfaceId, const wclWiFiHostedNetworkState OldState, const wclWiFiHostedNetworkState NewState, const int Reason)
 Fires the OnHostedNetworkStateChange event.
 
virtual void DoMsmAdapterOperationModeChange (const GUID &IfaceId, const wclWiFiOperationMode Mode)
 Fires the OnMsmAdapterOperationModeChange event.
 
virtual void DoMsmAdapterRemoval (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmAdapterRemoval event.
 
virtual void DoMsmAssociated (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmAssociated event.
 
virtual void DoMsmAssociating (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmAssociating event.
 
virtual void DoMsmAuthenticating (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the "OnMsmAuthenticating" event.
 
virtual void DoMsmConnected (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmConnected event.
 
virtual void DoMsmDisassociating (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmDisassociating event.
 
virtual void DoMsmDisconnected (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmDisconnected event.
 
virtual void DoMsmLinkDegraded (const GUID &IfaceId)
 Fires the OnMsmLinkDegraded event.
 
virtual void DoMsmLinkImproved (const GUID &IfaceId)
 Fires the OnMsmLinkImproved event.
 
virtual void DoMsmPeerJoin (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmPeerJoin event.
 
virtual void DoMsmPeerLeave (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmPeerLeave event.
 
virtual void DoMsmRadioStateChange (const GUID &IfaceId, const wclWiFiPhyRadioState &State)
 Fires the OnMsmRadioStateChange event.
 
virtual void DoMsmRoamingEnd (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmRoamingEnd event.
 
virtual void DoMsmRoamingStart (const GUID &IfaceId, const wclWiFiMsmConnectionEventData &Data)
 Fires the OnMsmRoamingStart event.
 
virtual void DoMsmSignalQualityChange (const GUID &IfaceId, const unsigned long Quality)
 Fires when OnMsmSignalQualityChange event.
 
virtual void DoOneXAuthRestarted (const GUID &IfaceId, const int Reason)
 Fires the OnOneXAuthRestarted event.
 
virtual void DoOneXAuthUpdate (const GUID &IfaceId, const wclWiFiOneXStatusUpdate &State)
 Fires the OnOneXAuthUpdate event.
 
virtual void DoIpChanged (const GUID &IfaceId, const wclWiFiIpSettings &Old, const wclWiFiIpSettings &New)
 Fires the OnIpChanged event.
 
- Protected Member Functions inherited from CwclCustomWiFiComponent
virtual int ElevatePrivileges () const
 The function must setup privileges for Native WiFi.
 
virtual int InternalClose ()=0
 Executes additional finalization procedures.
 
virtual int InternalOpen ()=0
 Executes additional initialization procedures.
 
virtual void DoAfterOpen ()
 Fires the AfterOpen event.
 
virtual void DoBeforeClose ()
 Fires the BeforeClose event.
 
HANDLE GetHandle () const
 Provides access to the WLAN subsystem handle.
 
 __declspec (property(get=GetHandle)) HANDLE Handle
 Provides access to the WLAN subsystem handle.
 

Detailed Description

The CwclWiFiEvents component provides access to the Wireless LAN notifications.

See also
CwclCustomWiFiComponent