Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
SHARE_INFO_2 (Structures)
.
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;
}
[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;
}
<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
End Structure
User-Defined Field Types:
None.
Notes:
[2004-06-11 Ray Ackley]
Added VB definition
[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
TODO - a short description
3/16/2007 8:17:31 AM - -63.69.129.2
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.