..msdn Add comment W32 Constants Translate this page
Provides information about sessions established on a server.|
DECLARE INTEGER NetSessionEnum IN Netapi32;
[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] Pointer to a string that specifies the name of the computer session for which information is to be returned. If this parameter is NULL, NetSessionEnum returns information for all computer sessions on the server.
[in] Pointer to a string that specifies the name of the user for which information is to be returned. If this parameter is NULL, NetSessionEnum returns information for all users.
[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 from the current resume position.
[in, out] Pointer to a value that contains a resume handle which is used to continue an existing session search.
|If the function succeeds, the return value is NERR_Success (0).|
|Buffer bufptr is allocated by the system and must be freed using the NetApiBufferFree function.|
|Word Index links for the NetSessionEnum :|
|Translate this page:|
Visited in last 7 days: 16
|Created: ||2006-01-26 21:24:19|
|Modified: ||2006-01-26 21:27:37|
Copyright © 2001-2017
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.6.38), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.