Exemplo n.º 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
     );
Exemplo n.º 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);
Exemplo n.º 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
     );
Exemplo n.º 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
     );
Exemplo n.º 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);
Exemplo n.º 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
     );
Exemplo n.º 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");
            }
        }
Exemplo n.º 8
0
 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);
Exemplo n.º 9
0
 public static extern int WlanHostedNetworkQueryProperty(IntPtr hClientHandle, WlanHostedNetworkOpcode opCode,
                                                         [Out] out uint pDataSize, [Out] out IntPtr ppvData, [Out] out WlanOpcodeValueType pWlanOpcodeValueType,
                                                         IntPtr pReserved);