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.
PROGTYPE (1.2)
Changes                                             Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINPROGRAMLIST
 
typedef struct _PROGTYPE {    /* progt */
    PROGCATEGORY progc;
    BYTE         fbVisible;
} PROGTYPE;
 
The PROGTYPE structure is used in the PIBSTRUCT and PROGDETAILS structures
to specify a program or group type.
 
Field      Description
────────────────────────────────────────────────────────────────────────────
 
progc      Specifies the program category. This field can be one of the
           following values:
 
           Value               Meaning
           ─────────────────────────────────────────────────────────────────
           PROG_DEFAULT        Default category.
 
           PROG_FULLSCREEN     Program runs only in a full-screen session.
 
           PROG_WINDOWABLEVIO  Program runs in a VIO-window session.
 
           PROG_PM             Program is a Presentation Manager
                               application.
 
           PROG_GROUP          Handle is to a group.
 
           PROG_REAL           Program is a (DOS) real-mode application.
 
           PROG_DLL            Program is a dynamic-link library.
 
fbVisible  Specifies the visibility of a program and (optionally) the
           protected or unprotected state of a group. This flag can be a
           combination of the following values:
 
           Value            Meaning
           ─────────────────────────────────────────────────────────────────
           SHE_VISIBLE      The program or group is visible.
 
           SHE_INVISIBLE    The program or group is invisible and cannot be
                            viewed.
 
           SHE_UNPROTECTED  The group is unprotected. Programs can be added
                            or deleted from the group. This value is valid
                            only for groups.
 
           SHE_PROTECTED    The group is protected. Programs cannot be added
                            or deleted from the group; the only program
                            information that can be changed is the
                            visibility state. This value is valid only for
                            groups.
 
See Also
 
PIBSTRUCT, PROGDETAILS