[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
struct SHARE_INFO_503
{
public string shi503_netname;
[MarshalAs(UnmanagedType.U4)]
public ShareType shi503_type;
public string shi503_remark;
[MarshalAs(UnmanagedType.U4)]
public int shi503_permissions; // used w/ share level security only
[MarshalAs(UnmanagedType.U4)]
public int shi503_max_uses;
[MarshalAs(UnmanagedType.U4)]
public int shi503_current_uses;
public string shi503_path;
public string shi503_passwd; // used w/ share level security only
public string shi503_servername;
[MarshalAs(UnmanagedType.U4)]
public int shi503_reserved;
public IntPtr shi503_security_descriptor;
}
Structure SHARE_INFO_503
Public TODO
End Structure
None.
See also ShareType enum.
Created 4-1-2009 by dalehirt (no, it's really NOT an April Fool's joke).