home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
MICSESSN.ZIP
/
MICSTSES.DOC
< prev
Wrap
Text File
|
1991-10-23
|
3KB
|
89 lines
This is a short description of the classes and methods contained
in MICSTSES.DLL. Most of the stuff is generated by AM/ST 3.5
Contents of application MicSessionManager at 23.06.11 on 22.10.91
Application MicSessionManager
Enables ST/VPM to start, kill, select a OS/2 session from within ST.
All code is in ST, it shows how to interface to OS/2 DLL's.
Class MicApplicationStarter (subclass of object)
This is the User-Interface to MicStSes. To run, kill and select
a program you only need to use this class. The class itself uses
an instance of StartData and zwo PUShorts (pointers to shorts).
It also creates an instance of SesMgr, the DLL interface, in the
initialize class method. The DLL handle is stored in the
class variable SESMGR.
Class method explain
Class method initialize
Class method new
Instance method explain
Instance method initialize
Instance method kill
Instance method run
Instance method run:
run a program, pathName as parameter
Instance method run:parameters:
run a program, pathName and parameterList (String) as parameters
Instance method running
test if program is running, rets true if yes
Instance method select
put focus on program
Class DosDLL (Subclass of DynamicLinkLibrary, Digitalk class)
Instance method getPrty:prty:pID:
DosGetPrty to test if session is running
Class SesMgr (Subclass of DynamicLinkLibrary)
SesMgr is the DLL interface to the Session Manager routines
found in the OS/2 DLL named SESMGR.DLL (found in OS2\DLL).
Instance method selectSession:reserved:
interface to DosSelectSession
Instance method startSession:sessID:pID:
interface to DosStartSession
Instance method stopSession:sessID:reserved:
interface to DosStopSession
Class PUShort (Subclass of PMStructure)
PUShort is a pointer to a short (SmallInteger). I could't figure
another way of simulating pointers.
Class method sizeInBytes
required by PMStructure, returns the bytesize of the C-Structure
Instance method get
Instance method put:
Instance method zero
Class StartData
Has the methods needed to get and put any field in the StartData
structure of the session manager. The structure is described in
the OS/2 API description (Toolkit).
Class method new
Class method sizeInBytes
Instance method defaults
Instance method description
Instance method environment:
Instance method fgbg:
Instance method iconFile:
Instance method inheritOpt:
Instance method initPos:
Instance method length:
Instance method name:
Instance method parameters:
Instance method programControl
Instance method programControl:
Instance method programHandle:
Instance method related:
Instance method sessionType:
Instance method termq:
Instance method title:
Instance method traceOpt: