AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

NetWkstaGetInfo

The NetWkstaGetInfo function returns information about the configuration elements for a workstation.

VB4-32,5,6
Function NetWkstaGetInfo Lib "netapi32" (ByVal servername As String, ByVal level As Long, lpBuf As Any) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Win9x/ME: Not supported

Library
Netapi32

Parameter Information
· servername
Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.

· level
Specifies one of the following values to return the level of information provided.
100
The bufptr parameter points to a WKSTA_INFO_100 structure.
101
The bufptr parameter points to a WKSTA_INFO_101 structure.
102
The bufptr parameter points to a WKSTA_INFO_102 structure.
302
The bufptr parameter points to a WKSTA_INFO_302 structure.
402
The bufptr parameter points to an WKSTA_INFO_402 structure.
502
The bufptr parameter points to a WKSTA_INFO_502 structure.

· bufptr
Pointer to the buffer in which the data set with the level parameter is stored.

Return Values
The fucntion returns 0 if successful.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/