DosSMInitialize: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:LEGACY:DosSMInitialize to DosSMInitialize |
mNo edit summary |
||
Line 1: | Line 1: | ||
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. | 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== | ==Syntax== | ||
DosSMInitialize (args) | |||
==Parameters== | ==Parameters== | ||
; args : a structure | ; args (void*): a structure | ||
struct initargs { | struct initargs { | ||
short length; /*length of structure*/ | short length; /*length of structure*/ | ||
Line 20: | Line 15: | ||
short flag; /*=0 no PM, =1 PM exists*/ | short flag; /*=0 no PM, =1 PM exists*/ | ||
}; | }; | ||
==Return Code== | ==Return Code== | ||
APIRET16 Pascal far | |||
[[Category:Dos]] | |||
[[Category: |
Revision as of 12:06, 14 February 2017
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
DosSMInitialize (args)
Parameters
- args (void*)
- 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
APIRET16 Pascal far