Пример #1
0
        public WLAN_HOSTED_NETWORK_STATUS QueryStatus()
        {
            IntPtr pStatus;

            WlanUtils.Throw_On_Win32_Error(wlanapi.WlanHostedNetworkQueryStatus(_wlanHandle, out pStatus, IntPtr.Zero));
            WLAN_HOSTED_NETWORK_STATUS status = (WLAN_HOSTED_NETWORK_STATUS)Marshal.PtrToStructure(pStatus, typeof(WLAN_HOSTED_NETWORK_STATUS));

            return(status);
        }
Пример #2
0
 public static extern void WlanHostedNetworkQueryStatus(IntPtr hClientHandle, [Out] out WLAN_HOSTED_NETWORK_STATUS ppWlanHostedNetworkStatus, IntPtr pvReserved);
 public extern static UInt32 WlanHostedNetworkQueryStatus(
     [In] IntPtr hClientHandle,
     [Out] out WLAN_HOSTED_NETWORK_STATUS ppWlanHostedNetworkStatus,
     IntPtr pReserved
     );