..msdn Add comment W32 Constants Translate this page
The NetShareEnum function retrieves information about each shared resource on a server or the local computer.|
DECLARE INTEGER NetShareEnum IN netapi32;
INTEGER @ bufptr,;
LONG @ entriesread,;
LONG @ totalentries,;
[in] Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
[in] Specifies the information level of the data.
[out] Pointer to the buffer that receives the data. The format of this data depends on the value of the level parameter.
[in] Specifies the preferred maximum length of returned data, in bytes.
[out] Pointer to a value that receives the count of elements actually enumerated.
[out] Pointer to a value that receives the total number of entries that could have been enumerated.
[in, out] Pointer to a value that contains a resume handle which is used to continue an existing share search.
|If the function succeeds, the return value is NERR_Success (0).|
|You can also use the WNetEnumResource function to retrieve resource information.|
Windows 95/98/Me: The parameters for Windows 95/98/Me are different from those for Windows NT/2000/XP.
Windows NT/2000/XP: This buffer is allocated by the system and must be freed using the NetApiBufferFree function.
Windows 95/98/Me: The caller must allocate and deallocate this buffer.
Also check native ANETRESOURCES( ) function.
|Word Index links for the NetShareEnum :|
|Translate this page:|
Visited in last 7 days: 6
|Created: ||2002-12-17 19:56:25|
|Modified: ||2003-08-06 11:47:05|
Copyright © 2001-2015
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.5.46), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.