The SESSION_INFO_2 structure contains information about the session, including name of the computer; name of the user; and files, pipes, and devices on the computer.
typedef struct _SESSION_INFO_2{
LPTSTR sesi2_cname; // client name (no backslashes)
LPTSTR sesi2_username;
DWORD sesi2_num_opens;
DWORD sesi2_time;
DWORD sesi2_idle_time;
DWORD sesi2_user_flags;
LPTSTR sesi2_cltype_name;
} SESSION_INFO_2, *PSESSION_INFO_2, *LPSESSION_INFO_2;
Value |
Meaning |
SESS_GUEST |
The sesi2_username member established the session using a guest account. |
SESS_NOENCRYPTION |
The sesi2_username member established the session without using password encryption. |
Value |
Meaning |
DOS LM 1.0 |
LAN Manager for MS-DOS 1.0 clients. |
DOS LM 2.0 |
LAN Manager for MS-DOS 2.0 clients. |
OS/2 LM 1.0 |
LAN Manager for MS-OS/2 1.0 clients. |
OS/2 LM 2.0 |
LAN Manager for MS-OS/2 2.0 clients. |
Sessions from LAN Manager servers running UNIX also will appear as LAN Manager 2.0.
NetSessionEnum, NetSessionGetInfo
file: /Techref/os/win/api/win32/struc/src/str19_2.htm, 3KB, , updated: 2000/4/7 12:20, local time: 2024/8/24 20:23,
18.226.166.161: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://piclist.com/tecHREF/os/win/api/win32/struc/src/str19_2.htm"> SESSION_INFO_2</A> |
Did you find what you needed? |
![]() 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. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.