DosSMGetStatus: Difference between revisions
Appearance
Created page with "image:legacy.png ==Description== Return status of screen groups. This can only be called by the shell that owns the Session Manager. ==Syntax== <PRE> APIRET16 Pascal far..." |
|||
| Line 18: | Line 18: | ||
; data | ; data | ||
structure to return data | structure to return data | ||
struct header { | struct header { | ||
short length_of_header; /*8 bytes*/ | short length_of_header; /*8 bytes*/ | ||
| Line 25: | Line 25: | ||
short length_of_entry; | short length_of_entry; | ||
}; | }; | ||
struct entry { /*for each screengroup one structure*/ | struct entry { /*for each screengroup one structure*/ | ||
short screen_group_number; | short screen_group_number; | ||
| Line 37: | Line 37: | ||
short type_of_group (FS/VIO/PM); | short type_of_group (FS/VIO/PM); | ||
}; | }; | ||
==Return Code== | ==Return Code== | ||
Revision as of 15:04, 25 September 2016
Description
Return status of screen groups. This can only be called by the shell that owns the Session Manager.
Syntax
APIRET16 Pascal far DOSSMGETSTATUS(short func,void far* data)
Parameters
- func
function code =0: return complete data =1 return complete data (different ordering) =2: return header data only (query how much space is needed) =3: return specified screen group only
- data
structure to return data
struct header {
short length_of_header; /*8 bytes*/
short screen_group; /*function 3*/
short next_active_screengroup;
short length_of_entry;
};
struct entry { /*for each screengroup one structure*/
short screen_group_number;
char screen_group_title[32];
short is_selected;
short child_screengroup;
short type_of_screengroup;
short parent_of_child;
short next_child;
short parent_screengroup;
short type_of_group (FS/VIO/PM);
};