示例#1
0
 internal static extern int WlanGetSecuritySettings(
     [In] IntPtr hClientHandle,
     [In] WlanSecurableObject SecurableObject,
     [Out, Optional] out WlanOpcodeValueType pValueType,
     [Out] out IntPtr strCurrentSDDL,
     [Out] out WlanAccess pdwGrantedAccess
     );
示例#2
0
 internal static extern uint WlanHostedNetworkQueryProperty(
     [In] WlanHandle clientHandle,
     [In] WlanHostedNetworkOpcode opCode,
     [Out] out uint dataSize,
     [Out] out IntPtr data,
     [Out] out WlanOpcodeValueType wlanOpcodeValueType,
     IntPtr reserved);
示例#3
0
 internal static extern int WlanHostedNetworkSetProperty(
     [In] IntPtr hClientHandle,
     [In] WlanHostedNetworkOpcode OpCode,
     [In] int pdwDataSize,
     [In] IntPtr ppvData,
     [Out, Optional] out WlanOpcodeValueType pWlanOpcodeValueType,
     [In, Out] IntPtr pvReserved
     );
示例#4
0
 internal static extern int WlanQueryAutoConfigParameter(
     [In] IntPtr hClientHandle,
     [In] WlanAutoConfOpcode OpCode,
     [In, Out] IntPtr pReserved,
     [Out] out uint pdwDataSize,
     [Out] out IntPtr ppData,
     [Out, Optional] out WlanOpcodeValueType pWlanOpodeValueType
     );
示例#5
0
 public static extern int WlanQueryInterface(
     [In] IntPtr clientHandle,
     [In, MarshalAs(UnmanagedType.LPStruct)] Guid interfaceGuid,
     [In] WlanIntfOpcode opCode,
     [In, Out] IntPtr pReserved,
     [Out] out int dataSize,
     [Out] out IntPtr ppData,
     [Out] out WlanOpcodeValueType wlanOpcodeValueType);
示例#6
0
 internal static extern int WlanQueryInterface(
     [In] IntPtr hClientHandle,
     [In, MarshalAs(UnmanagedType.LPStruct)] Guid interfaceGuid,
     [In] WlanIntfOpcode OpCode,
     [In, Out] IntPtr pReserved,
     [Out] out uint pdwDataSize,
     [Out] out IntPtr ppData,
     [Out, Optional] out WlanOpcodeValueType pWlanOpcodeValueType
     );
示例#7
0
        public static string ToString(WlanOpcodeValueType opCode)
        {
            switch (opCode)
            {
            case WlanOpcodeValueType.QueryOnly: return("未知");

            case WlanOpcodeValueType.SetByGroupPolicy: return("组策略设置");

            case WlanOpcodeValueType.SetByUser: return("用户自定义");

            case WlanOpcodeValueType.Invalid: return("无效");

            default: return("未知的 WLAN_OPCODE_VALUE_TYPE");
            }
        }
示例#8
0
文件: Wlan.cs 项目: rvong/wifiguy
 public static extern int WlanQueryInterface([In] IntPtr clientHandle, [In, MarshalAs(UnmanagedType.LPStruct)] Guid interfaceGuid, [In] WlanIntfOpcode opCode, [In, Out] IntPtr pReserved, out int dataSize, out IntPtr ppData, out WlanOpcodeValueType wlanOpcodeValueType);
 public static extern int WlanHostedNetworkQueryProperty(IntPtr hClientHandle, WlanHostedNetworkOpcode opCode,
                                                         [Out] out uint pDataSize, [Out] out IntPtr ppvData, [Out] out WlanOpcodeValueType pWlanOpcodeValueType,
                                                         IntPtr pReserved);