Desktop Functions: Smart Device Functions:
|
Search Results for "USE_INFO_2" in [All]netapi321: NetUseAdd http://www.pinvoke.net/default.aspx/Structures.USE_INFO_2
ref Structures.USE_INFO_2 Buf,
internal struct USE_INFO_2
USE_INFO_2 useInfo = new USE_INFO_2(); 2: NetUseEnum
internal struct USE_INFO_2
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> Public Structure USE_INFO_2
USE_INFO_2 lInfo;
IntPtr ptr = IntPtr.Add(lBuffer, Marshal.SizeOf(typeof(USE_INFO_2)) * li);
// lInfo=(USE_INFO_2)Marshal.PtrToStructure(new IntPtr(lBuffer.ToInt32()+(Marshal.SizeOf(typeof(USE_INFO_2))*li)),typeof(USE_INFO_2));
lInfo = (USE_INFO_2)Marshal.PtrToStructure(ptr, typeof(USE_INFO_2));
Public Shared Function ReadNetworkConns() As USE_INFO_2()
Dim Conns(lRead - 1) As USE_INFO_2
Dim RawPos As IntPtr = lBuffer.ToInt32() + (Marshal.SizeOf(GetType(USE_INFO_2)) * i)
Conns(i) = Marshal.PtrToStructure(lBuffer, GetType(USE_INFO_2)) Structures3: USE_INFO_2
4: USE_INFO_23
5: USE_INFO_23
|