SHARE_INFO_2 (Structures)
Last changed: jtitley@net180.com-218.214.55.35

.
Summary
TODO - a short description

C# Definition:

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public struct SHARE_INFO_2
    {
        [MarshalAs(UnmanagedType.LPWStr)]
        public string shi2_netname;
        public uint shi2_type;
        [MarshalAs(UnmanagedType.LPWStr)]
        public string shi2_remark;
        public uint shi2_permissions;
        public uint shi2_max_uses;
        public uint shi2_current_uses;
        [MarshalAs(UnmanagedType.LPWStr)]
        public string shi2_path;
        [MarshalAs(UnmanagedType.LPWStr)]
        public string shi2_passwd;
    }

VB Definition:

    Private Structure SHARE_INFO_2
    <MarshalAs(UnmanagedType.LPWStr)> Dim shi2_netname As String
    Dim shi2_type As Integer
    <MarshalAs(UnmanagedType.LPWStr)> Dim shi2_remark As String
    Dim shi2_permissions As Integer
    Dim shi2_max_uses As Integer
    Dim shi2_current_uses As Integer
    <MarshalAs(UnmanagedType.LPWStr)> Dim shi2_path As String
    <MarshalAs(UnmanagedType.LPWStr)> Dim shi2_passwd As String
    End Structure

User-Defined Field Types:

None.

Notes:

[2004-06-03 Nicholas Paldino]
Fixed typo.
[2012-08-02]
Corrected Struct against msdn http://msdn.microsoft.com/en-us/library/windows/desktop/bb525408(v=vs.85).aspx

Documentation