Browse Prior Art Database

Communication between Workplace Shell Object and Presentation Manager Program

IP.com Disclosure Number: IPCOM000117186D
Original Publication Date: 1996-Jan-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 50K

Publishing Venue

IBM

Related People

McCulloch, KA: AUTHOR

Abstract

Disclosed is a method to enhance the communication between a Presentation Manager* (PM) program and a WorkPlace Shell object. It's most useful purpose is to allow the PM program to extract WorkPlace Shell information using a WorkPlace Shell object.

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

Communication between Workplace Shell Object and Presentation Manager
Program

      Disclosed is a method to enhance the communication between a
Presentation Manager* (PM) program and a WorkPlace Shell object.
It's most useful purpose is to allow the PM program to extract
WorkPlace Shell information using a WorkPlace Shell object.

      The Figure describes how a PM program can get WorkPlace Shell
information from a WorkPlace Shell object using shared memory.

Below is a description of each step.  Each step is based on the
example:
  A PM Program needs to get a list of all open folders
  1.  Allocate some memory to be shared between the PM program and
the
       WorkPlace Shell object.
  2.  Create a setup string with:
      o  a keyword that represents the request
      o  the address of the shared memory where the requested data
          will eventually be placed.
  For this example the setup string might look something like
      OPENFOLDERS=<address>
  3.  Send the request to the WorkPlace Shell object using
       WinSetObjectData with the handle to the WorkPlace Shell object
       (HOBJECT) and the setup string.
  4.  The WorkPlace Shell object receives the request in the WP_SETUP
       method.
  5.  Get the keyword in the setup string and access the shared
memory.
  6.  Perform the request according to the keyword.  In this case,
the
       WorkPlace Shell object will get a list of the...