USE_INFO_2 (Structures)
Last changed: -165.86.71.72

.
Summary
TODO - a short description

C# Definition:

    /// <summary>
    /// USE_INFO_2 Struct for NetUseEnum
    /// </summary>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public struct USE_INFO_2 {
    /// <summary>A pointer to a string that contains the local device name (for example, drive E or LPT1) being redirected to the shared resource. The constant DEVLEN specifies the maximum number of characters in the string. This member can be NULL. For more information, see the following Remarks section.</summary>
    public string ui2_local;
    /// <summary>A pointer to a string that contains the share name of the remote resource. The string is in the form \\servername\sharename</summary>
    public string ui2_remote;
    /// <summary>A pointer to a string that contains the password needed to establish a session with a specific workstation.</summary>
    public string ui2_password;
    /// <summary>The status of the connection. This element is not used by the NetUseAdd function. The following values are defined.</summary>
    public int  ui2_status;
    /// <summary>The type of remote resource being accessed. This member can be one of the following values.</summary>
    public int  ui2_asg_type;
    /// <summary>The number of files, directories, and other processes that are open on the remote resource. This element is not used by the NetUseAdd function.</summary>
    public int  ui2_refcount;
    /// <summary>The number of explicit connections (redirection with a local device name) or implicit UNC connections (redirection without a local device name) that are established with the resource.</summary>
    public int  ui2_usecount;
    /// <summary>A pointer to a string that contains the name of the user who initiated the connection.</summary>
    public string ui2_username;
    /// <summary>A pointer to a string that contains the domain name of the remote resource.</summary>
    public string ui2_domainname;
    }

User-Defined Field Types:

None.

Notes:

Structrue for NetUseEnum

Documentation
USE_INFO_2 @msdn on MSDN