|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| netapi32.lib
| Header File
| lmstats.h
| Unicode
| WinNT
| Platform Notes
| All LanMan APIs are UNICODE only
|
|
|
NetStatisticsGet2
retrieves operating statistics for a service. Currently, only the Workstation
and Server services are supported.
Security Requirements
Only members of the Administrators or Account Operators local group can
successfully execute
NetStatisticsGet2 on a remote server.
NET_API_STATUS NetStatisticsGet2(
LPTSTR server,
|
|
LPTSTR service,
|
|
DWORD level,
|
|
DWORD options,
|
|
LPBYTE *bufptr
|
|
);
|
|
Parameters
server
Pointer to a Unicode string that contains the name of the server on which to
execute
NetStatisticsGet2. A NULL pointer or null string specifies the local computer.
service
Pointer to a Unicode string that contains the name of the service about which
to get the statistics. Only the values SERVER and WORKSTATION are currently
allowed.
level
Specifies the following value to return the level of information provided.
options
Must be zero.
bufptr
Pointer to the buffer in which the data set with the
level parameter is stored.
See Also
NetServerGetInfo,
STAT_SERVER_0,
STAT_WORKSTATION_0
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database