WiFi Framework
ContentsIndexHome
PreviousUpNext
wclWiFi::wclWiFiMsmConnectionEventData Structure

The record contains information about media specific module (MSM) connection related notifications.

Syntax
C++
typedef struct {
  wclWiFiConnectionMode ConnectionMode;
  tstring ProfileName;
  tstring Ssid;
  wclWiFiBssType BssType;
  tstring Mac;
  bool SecurityEnabled;
  bool FirstPeer;
  bool LastPeer;
  int Reason;
} wclWiFiMsmConnectionEventData;
Members 
Description 
wclWiFiConnectionMode ConnectionMode; 
The mode of the connection.  
tstring ProfileName; 
The name of the profile used for the connection. Profile names are case-sensitive.  
tstring Ssid; 
The SSID of the association.  
wclWiFiBssType BssType; 
The BSS network type.  
tstring Mac; 
The MAC address of the peer or access point.  
bool SecurityEnabled; 
Indicates whether security is enabled for this connection. If True, security is enabled.  
bool FirstPeer; 
Indicates whether the peer is the first to join the ad hoc network created by the machine. If True, the peer is the first to join.
After the first peer joins the network, the interface state of the machine that created the ad hoc network changes from isAdHocFormed to isConnected.
 
bool LastPeer; 
Indicates whether the peer is the last to leave the ad hoc network created by the machine. If True, the peer is the last to leave. After the last peer leaves the network, the interface state of the machine that created the ad hoc network changes from isConnected to isAdHocFormed.  
int Reason; 
The reason for an operation failure. If the operation succeeds, this field has a value of wclCommon::WCL_E_SUCCESS. Otherwise, this field indicates the reason for the failure.  
Copyright (c) 2006-2019. All rights reserved.