Browse Prior Art Database

Mechanism for Invoking Workplace Shell Objects from the OS/2 Command Line

IP.com Disclosure Number: IPCOM000114405D
Original Publication Date: 1994-Dec-01
Included in the Prior Art Database: 2005-Mar-28
Document File: 2 page(s) / 63K

Publishing Venue

IBM

Related People

Rodriguez, PC: AUTHOR [+4]

Abstract

Disclosed is a mechanism to invoke actions performed by Workplace Shell* objects from the OS/2* command line. In this mechanism, the WinSetObjectData API is used not only to set the properties of the install objects, but also to signal the object to perform an installation. 1. An OS/2 program, linked as a WINDOWCOMPAT executable, calls WinInitialize and WinCreateMsgQueue to enable the calling of PM APIs. 2. WinRegisterClass and WinCreateObject are called to create a blank install object in the NOWHERE folder. 3. WinSetObjectData is called to set the name of a response file (a file that contains persistance data) in the object and a flag indicating that the object should perform a particular action.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Mechanism for Invoking Workplace Shell Objects from the OS/2 Command
Line

      Disclosed is a mechanism to invoke actions performed by
Workplace Shell* objects from the OS/2* command line.  In this
mechanism, the WinSetObjectData API is used not only to set the
properties of the install objects, but also to signal the object to
perform an installation.
  1.  An OS/2 program, linked as a WINDOWCOMPAT executable, calls
       WinInitialize and WinCreateMsgQueue to enable the calling of
PM
       APIs.
  2.  WinRegisterClass and WinCreateObject are called to create a
blank
       install object in the NOWHERE folder.
  3.  WinSetObjectData is called to set the name of a response file
(a
       file that contains persistance data) in the object and a flag
       indicating that the object should perform a particular action.
       The name and path of the response file were passed into the
       executable as command line parameters.  The response file
       contains a section for each object in the container hierarchy,
       keyed by a unique object handle.  Each of these sections
contains
       the settings information for the associated object, as well as
       the class names and object handles of the object's contained
       children.  In addition to these sections, the response file
       contains the object handle of the top object in the container
       hierarchy.
  4.  In an override of the wpSetup method, the object receives the
       data sent by the OS/2 executable.
  5.  The blank object reads the object handle of the top feature
from
    ...