The NetWkstaGetInfo function returns information about the configuration elements for a workstation.
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 | |
); |
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. It is not advisable to change the values of WKSTA_INFO_502. |
Questions: