@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: This Enumeration is useful for all the NetShareGetInfo calls such as follows IntPtr bufptr = IntPtr.Zero; int err; IntPtr ptr = IntPtr.Zero; int output = NetShareGetInfo("<ServerName>", @"<ShareName>", 502, out ptr); SHARE_INFO_502 shareInfo = (SHARE_INFO_502)Marshal.PtrToStructure(ptr, typeof(SHARE_INFO_502)); !!!!C# Definition: [StructLayout(LayoutKind.Sequential)] public struct SHARE_INFO_502 { [MarshalAs(UnmanagedType.LPWStr)] public string shi502_netname; public uint shi502_type; [MarshalAs(UnmanagedType.LPWStr)] public string shi502_remark; public Int32 shi502_permissions; public Int32 shi502_max_uses; public Int32 shi502_current_uses; [MarshalAs(UnmanagedType.LPWStr)] public string shi502_path; public IntPtr shi502_passwd; public Int32 shi502_reserved; public IntPtr shi502_security_descriptor; } !!!!VB Definition: Structure SHARE_INFO_502 Public TODO End Structure !!!!User-Defined Field Types: None. !!!!Notes: See also [ShareType] enum. Documentation: SHARE_INFO_502@msdn on MSDN
Edit Structures.SHARE_...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.