OEM User's Guide
OEM External Specification
OEM User’s Guide—520330-001
A-62
OEM Callback API (Adapter to OEM)
In the previous example, the adapter requests that the OEM Server cascade all client
windows immediately to below the framework window, in an area 600 pixels wide x 600
pixels high.
MinimizeAll
Use the MinimizeAll method to allow the EM Framework to minimize all client
application windows.
Parameters
None
Return Value
•
0 if the OEM Server has accepted and handled the message
•
Non-zero if the OEM Server cannot or will not process the message
Considerations
When this method is called, the OEM Server uses each client callback object’s
WindowState property to minimize client application windows.
The OEM Gateway returns 0 if it has accepted the command and non-zero if it has not.
If a non-zero value is returned, the adapter is not required to do anything. However, it
might choose to perform some sort of error processing if necessary.
Example
Dim RC As Integer
' OEMServerCallbackObject was passed in a Popup.Add or
Object.Add call
RC = OEMServerCallbackObject.MinimizeAll
Function MinimizeAll() As Integer