|
Previous Top Next |
Prototype: | () |
Primary method to enumerate local shares. This method checks for the Computer name and if no computer name is detected, it indicates that there are no local shares so it skips the process. Since the storage information for local shares is different on 95/98/ME than it is on NT/2000/XP, this method determines which operating system is in use and then calls the EnumLocalSharesWin32 or EnumLocalSharesWinNT depending on the result of the call to GetWindowVersion()
For example code, see the source for the GetLocalNetworkFileName method.
See also: