Jump to content

DosSMInitialize

From EDM2
Revision as of 16:09, 25 September 2016 by Martini (talk | contribs) (Created page with "image:legacy.png ==Description== This will initialize the session manager shell. The first process to call this will become the shell that owns the session manager. Furth...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This will initialize the session manager shell. The first process to call this will become the shell that owns the session manager. Further calls will fail.

Syntax

APIRET16 Pascal far DOSSMINITIALIZE(void* args)

Parameters

args
a structure
       struct initargs {
           short length; /*length of structure*/
           long* sem1;   /*address of a semaphore to notify
                           shell of a screen redraw*/
           long* sem2;   /*address of a semaphore to notify
                           that a FG session is terminated*/
           long unknown;
           short flag;   /*=0 no PM, =1 PM exists*/
       };


Return Code

Remarks

Example Code


Related Functions