Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

SHARE_INFO_2 (Structures)
 
.
Summary
TODO - a short description

C# Definition:

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

VB Definition:

<StructLayout(LayoutKind.Sequential)> 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-11 Ray Ackley]
Added VB definition

[2004-06-03 Nicholas Paldino]
Fixed typo.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions