The USE_INFO_2 structure contains usability information about a remote or shared resource and their associated accounts.
typedef struct _USE_INFO_2 {
LPTSTR ui2_local;
LPTSTR ui2_remote;
LPTSTR ui2_password;
DWORD ui2_status;
DWORD ui2_asg_type;
DWORD ui2_refcount;
DWORD ui2_usecount;
LPTSTR ui2_username;
LPTSTR ui2_domainname;
}USE_INFO_2, *PUSE_INFO_2, *LPUSE_INFO_2;
\\servername\sharename
Value |
Meaning |
USE_OK |
The connection is successful. |
USE_PAUSED |
Paused by a local workstation. |
USE_SESSLOST |
The connection is connected. |
USE_DISCONN |
An error occurred. |
USE_NETERR |
A network error occurred. |
USE_CONN |
The connection is being made. |
SE_RECONN |
Reconnecting. |
Value |
Meaning |
USE_WILDCARD |
Matches the type of the server’s shared resources. Wildcards can be used only with the NetUseAdd function, and only when the ui2_local member is a null string. |
USE_DISKDEV |
Disk device. |
USE_SPOOLDEV |
Spooled printer. |
USE_CHARDEV |
Communication device. |
USE_IPC |
Interprocess communication (IPC). |
NetUseAdd, NetUserEnum, NetUseGetInfo
file: /Techref/os/win/api/win32/struc/src/str22_19.htm, 5KB, , updated: 2002/2/23 00:51, local time: 2024/11/24 08:07,
3.17.166.157: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? <A HREF="http://ecomorder.com/techref/os/win/api/win32/struc/src/str22_19.htm"> USE_INFO_2</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.