|
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
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|