WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE structure (wlanapi.h)

The WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE structure contains information about a network state change for a data peer on the wireless Hosted Network.

Syntax

typedef struct _WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE {
  WLAN_HOSTED_NETWORK_PEER_STATE OldState;
  WLAN_HOSTED_NETWORK_PEER_STATE NewState;
  WLAN_HOSTED_NETWORK_REASON     PeerStateChangeReason;
} WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE, *PWLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE;

Members

OldState

The previous network state for a data peer on the wireless Hosted Network.

NewState

The current network state for a data peer on the wireless Hosted Network.

PeerStateChangeReason

The reason for the network state change for the data peer.

Remarks

The WLAN_HOSTED_NETWORK_DATA_PEER_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_PEER_STATE

WLAN_HOSTED_NETWORK_REASON

WLAN_NOTIFICATION_DATA

WlanRegisterNotification