|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| netapi32.lib
| Header File
| lmwksta.h
| Unicode
| WinNT
| Platform Notes
| All LanMan APIs are UNICODE only
|
|
|
NetWkstaGetInfo
The NetWkstaGetInfo function returns information about the configuration elements for a
workstation.
Security Requirements
You must have Print or Server operator privilege, or be a member of the
Administrator or Account local groups to successfully execute NetWkstaGetInfo at level 0 or level 1 on a remote server. No special privilege is required
for level 10 calls.
NET_API_STATUS NetWkstaGetInfo(
LPTSTR servername,
|
| DWORD level,
|
| LPBYTE *bufptr
|
| );
|
|
Parameters
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.
Value
| Meaning
| 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.
See Also
NetWkstaSetInfo
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
|