home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / MICSESSN.ZIP / MICSTSES.DOC < prev   
Text File  |  1991-10-23  |  3KB  |  89 lines

  1. This is a short description of the classes and methods contained
  2. in MICSTSES.DLL. Most of the stuff is generated by AM/ST 3.5
  3.  
  4. Contents of application MicSessionManager at 23.06.11 on 22.10.91
  5.  
  6. Application MicSessionManager
  7.  
  8. Enables ST/VPM to start, kill, select a OS/2 session from within ST.
  9. All code is in ST, it shows how to interface to OS/2 DLL's.
  10.  
  11.     Class MicApplicationStarter (subclass of object)
  12.  
  13.         This is the User-Interface to MicStSes. To run, kill and select
  14.         a program you only need to use this class. The class itself uses
  15.         an instance of StartData and zwo PUShorts (pointers to shorts).
  16.         It also creates an instance of SesMgr, the DLL interface, in the
  17.         initialize class method. The DLL handle is stored in the 
  18.         class variable SESMGR.
  19.  
  20.          Class method explain
  21.          Class method initialize
  22.          Class method new
  23.          Instance method explain
  24.          Instance method initialize
  25.          Instance method kill
  26.          Instance method run
  27.          Instance method run:
  28.             run a program, pathName as parameter
  29.          Instance method run:parameters:
  30.             run a program, pathName and parameterList (String) as parameters
  31.          Instance method running
  32.             test if program is running, rets true if yes
  33.          Instance method select
  34.             put focus on program
  35.  
  36.     Class DosDLL (Subclass of DynamicLinkLibrary, Digitalk class)
  37.          Instance method getPrty:prty:pID:
  38.             DosGetPrty to test if session is running
  39.  
  40.     Class SesMgr (Subclass of DynamicLinkLibrary)
  41.  
  42.         SesMgr is the DLL interface to the Session Manager routines
  43.         found in the OS/2 DLL named SESMGR.DLL (found in OS2\DLL).
  44.  
  45.          Instance method selectSession:reserved:
  46.             interface to DosSelectSession
  47.          Instance method startSession:sessID:pID:
  48.             interface to DosStartSession
  49.          Instance method stopSession:sessID:reserved:
  50.             interface to DosStopSession
  51.  
  52.     Class PUShort (Subclass of PMStructure)
  53.  
  54.         PUShort is a pointer to a short (SmallInteger). I could't figure
  55.         another way of simulating pointers.
  56.  
  57.          Class method sizeInBytes
  58.             required by PMStructure, returns the bytesize of the C-Structure
  59.          Instance method get
  60.          Instance method put:
  61.          Instance method zero
  62.  
  63.     Class StartData
  64.  
  65.         Has the methods needed to get and put any field in the StartData
  66.         structure of the session manager. The structure is described in
  67.         the OS/2 API description (Toolkit).
  68.  
  69.          Class method new
  70.          Class method sizeInBytes
  71.          Instance method defaults
  72.          Instance method description
  73.          Instance method environment:
  74.          Instance method fgbg:
  75.          Instance method iconFile:
  76.          Instance method inheritOpt:
  77.          Instance method initPos:
  78.          Instance method length:
  79.          Instance method name:
  80.          Instance method parameters:
  81.          Instance method programControl
  82.          Instance method programControl:
  83.          Instance method programHandle:
  84.          Instance method related:
  85.          Instance method sessionType:
  86.          Instance method termq:
  87.          Instance method title:
  88.          Instance method traceOpt:
  89.