ConceptHMI Web Help
NetShareEnum(String,Int32,IntPtr,UInt16,UInt16,UInt16) Method
Name of the lp server.
The dw level.
The lp buffer.
The cb buffer.
The entries read.
The total entries.
Nets the share enum.
Syntax
[DllImport("svrapi")]
[PreserveSig()]
protected static int NetShareEnum( 
   string lpServerName,
   int dwLevel,
   IntPtr lpBuffer,
   ushort cbBuffer,
   out ushort entriesRead,
   out ushort totalEntries
)

Parameters

lpServerName
Name of the lp server.
dwLevel
The dw level.
lpBuffer
The lp buffer.
cbBuffer
The cb buffer.
entriesRead
The entries read.
totalEntries
The total entries.

Return Value

System.Int32.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ShareCollection Class
ShareCollection Members
Overload List

 

 


© 2016 Objectis

Send Feedback