msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
STATUSDATA (1.2)
Changes                                             Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSSESMGR
 
typedef struct _STATUSDATA {    /* stsdata */
    USHORT Length;
    USHORT SelectInd;
    USHORT BondInd;
} STATUSDATA;
 
The STATUSDATA structure contains status information about a session.
 
Field      Description
────────────────────────────────────────────────────────────────────────────
 
Length     Specifies the size of the structure (in bytes). Programs written
           in the C language should use the sizeof operator to set this
           field.
 
SelectInd  Specifies whether the target session should be set as selectable
           or nonselectable. It can be one of the following values:
 
           Value                  Meaning
           ─────────────────────────────────────────────────────────────────
           TARGET_UNCHANGED       Leave current setting unchanged.
 
           TARGET_SELECTABLE      Set as selectable.
 
           TARGET_NOT_SELECTABLE  Set as nonselectable.
 
BondInd    Specifies which session to bring to the foreground the next time
           the parent session is selected. It can be one of the following
           values:
 
           Value           Meaning
           ─────────────────────────────────────────────────────────────────
           BOND_UNCHANGED  Leave current setting unchanged.
 
           BOND_CHILD      A bond between the parent session and the child
                           session is established. The child session is
                           brought to the foreground the next time the
                           parent session is selected. If the child session
                           is selected, the child session is brought to the
                           foreground.
 
           BOND_NONE       Any bond previously established with the
                           specified child session is broken. The parent
                           session is brought to the foreground the next
                           time the parent session is selected and the child
                           session is brought to the foreground the next
                           time the child session is selected.
 
See Also
 
DosSetSession