STATUSDATA struc stsdata_Length dw ? ;length of this data structure stsdata_SelectInd dw ? ;0=leave setting unchanged, 1=selectable ;2=non-selectable stsdata_BindInd dw ? ;which session to bring to foreground STATUSDATA ends EXTRN DosSetSession:FAR INCL_DOSSESMGR EQU 1 PUSH WORD SessID ;Session ID PUSH@ OTHER StatusData ;Session status data CALL DosSetSession Returns WORD