please dont rip this site Prev Next

NetStatisticsGet2 info  Overview  Group

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.

Value

Meaning

0

The bufptr parameter points to an array of STAT_WORKSTATION_0 or STAT_SERVER_0 structures.

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 


file: /Techref/os/win/api/win32/func/src/f63_12.htm, 3KB, , updated: 2006/5/12 09:34, local time: 2024/11/27 23:03,
TOP NEW HELP FIND: 
18.190.176.176:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f63_12.htm"> NetStatisticsGet2</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .