Network Class: EnumLocalSharesWin32
Returns the number of enumerated local shares. This method enumerates information that is stored in the "LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Network\Lanman" registry key.
See also:
EnumLocalShares
EnumLocalSharesWinNT