SESSION_INFO_0

The SESSION_INFO_0 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_0 {
    LPWSTR    sesi0_cname;  // client name (no backslashes)
} SESSION_INFO_0, *PSESSION_INFO_0, *LPSESSION_INFO_0;
 

Members

sesi0_cname
Points to a Unicode string that contains the name of the computer that established the session.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in lmshare.h.

See Also

Networking (Net) Overview, Net Structures, NetSessionEnum, NetSessionGetInfo