WLAN_HOSTED_NETWORK_STATE_CHANGE structure (wlanapi.h)

The WLAN_HOSTED_NETWORK_STATE_CHANGE structure contains information about a network state change on the wireless Hosted Network.

Syntax

typedef struct _WLAN_HOSTED_NETWORK_STATE_CHANGE {
  WLAN_HOSTED_NETWORK_STATE  OldState;
  WLAN_HOSTED_NETWORK_STATE  NewState;
  WLAN_HOSTED_NETWORK_REASON StateChangeReason;
} WLAN_HOSTED_NETWORK_STATE_CHANGE, *PWLAN_HOSTED_NETWORK_STATE_CHANGE;

Members

OldState

The previous network state on the wireless Hosted Network.

NewState

The current network state on the wireless Hosted Network.

StateChangeReason

The reason for the network state change.

Remarks

The WLAN_HOSTED_NETWORK_STATE_CHANGE structure is an extension to native wireless APIs added to support the wireless Hosted Network on Windows 7 and later.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header wlanapi.h (include Wlanapi.h)

See also

WLAN_HOSTED_NETWORK_REASON

WLAN_HOSTED_NETWORK_STATE

WLAN_NOTIFICATION_DATA

WlanRegisterNotification