 Prev Next
Prev Next
The USE_INFO_1 structure contains status information about a remote or shared resource and their associated accounts.
typedef struct _USE_INFO_1 {
    LPTSTR  ui1_local;
    LPTSTR  ui1_remote;
    LPTSTR  ui1_password;
    DWORD   ui1_status;
    DWORD   ui1_asg_type;
    DWORD   ui1_refcount;
    DWORD   ui1_usecount;
}USE_INFO_1, *PUSE_INFO_1, *LPUSE_INFO_1;
 
\e\eservername\e\esharename
| Value | Meaning | 
| USE_OK | The connection is valid. | 
| USE_PAUSED | Paused by local workstation. | 
| USE_SESSLOST | Disconnected. | 
| USE_DISCONN | An error occurred. | 
| USE_NETERR | A network error occurred. | 
| USE_CONN | 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 ui1_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_18.htm, 5KB, , updated: 2000/4/7 12:20, local time: 2025/10/30 11:21, 
 
216.73.216.99,10-3-83-201:LOG IN | 
| ©2025 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://www.piclist.com/techref/os/win/api/win32/struc/src/str22_18.htm"> USE_INFO_1</A> | 
| Did you find what you needed? | 
|  PICList 2025 contributors: o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. | 
| Welcome to www.piclist.com! | 
.