WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiMsmConnectionEventData Record

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

Syntax
Pascal
TwclWiFiMsmConnectionEventData = record
  ConnectionMode: TwclWiFiConnectionMode;
  ProfileName: string;
  Ssid: string;
  BssType: TwclWiFiBssType;
  Mac: string;
  SecurityEnabled: Boolean;
  FirstPeer: Boolean;
  LastPeer: Boolean;
  Reason: Integer;
end;
Members 
Description 
ConnectionMode: TwclWiFiConnectionMode; 
The mode of the connection.  
ProfileName: string; 
The name of the profile used for the connection. Profile names are case-sensitive.  
Ssid: string; 
The SSID of the association.  
BssType: TwclWiFiBssType; 
The BSS network type.  
Mac: string; 
The MAC address of the peer or access point.  
SecurityEnabled: Boolean; 
Indicates whether security is enabled for this connection. If True, security is enabled.  
FirstPeer: Boolean; 
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.
 
LastPeer: Boolean; 
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.  
Reason: Integer; 
The reason for an operation failure. If the operation succeeds, this field has a value of WCL_E_SUCCESS. Otherwise, this field indicates the reason for the failure.  
Copyright (c) 2006-2019. All rights reserved.