Desktop Functions: Smart Device Functions:
|
Search Results for "WLAN_INTERFACE_INFO_LIST" in [All]wlanapi
WLAN_INTERFACE_INFO_LIST infoList = new WLAN_INTERFACE_INFO_LIST(ptr);
Dim infoList As New WLAN_INTERFACE_INFO_LIST(ptr) Structures
public struct WLAN_INTERFACE_INFO_LIST
/// Constructor for WLAN_INTERFACE_INFO_LIST.
public WLAN_INTERFACE_INFO_LIST(IntPtr pList)
Private Structure WLAN_INTERFACE_INFO_LIST The constructor of this structure "unmarshal" WLAN_INTERFACE_INFO_LIST data obtained by calling WlanEnumInterfaces(). This is a good example on how to marshal pointer-to-pointer case in C++ world ( kind of confusing because in C# or Managed Environment more broadly, it is just reference, so as you can see from the implementation for C#, it is to be treated like just a single pointer case. Also, this example shows how to handle an array for the InterfaceInfo inside of this structure. It needs two level of marshaling and this example shows that.
public struct WLAN_INTERFACE_INFO_LIST
/// Constructor for WLAN_INTERFACE_INFO_LIST.
public WLAN_INTERFACE_INFO_LIST(IntPtr pList)
Private Structure WLAN_INTERFACE_INFO_LIST The constructor of this structure "unmarshal" WLAN_INTERFACE_INFO_LIST data obtained by calling WlanEnumInterfaces(). This is a good example on how to marshal pointer-to-pointer case in C++ world ( kind of confusing because in C# or Managed Environment more broadly, it is just reference, so as you can see from the implementation for C#, it is to be treated like just a single pointer case. Also, this example shows how to handle an array for the InterfaceInfo inside of this structure. It needs two level of marshaling and this example shows that. |