OEM User's Guide
OEM External Specification
OEM User’s Guide—520330-001
A-58
OEM Callback API (Adapter to OEM)
RefreshPopups
The RefreshPopups method causes the OEM Server to repopulate the requesting adapter
with all popup information. This method can be used by an adapter to ensure that its
popup information is synchronized with that of the OEM Server.
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
The OEM Server queues the request from the adapter and replies immediately; this is
necessary to prevent potential deadlocks. Subsequent queue processing causes the
adapter to receive popup updates through the standard Popup.Add mechanism.
The OEM Server does not first clear popup information from the adapter. The adapter
itself should do this before making the RefreshPopups call.
Example
Dim RC As Integer
' OEMServerCallbackObject was passed in a Popup.Add or
Object.Add call
RC = OEMServerCallbackObject.RefreshPopups
Function RefreshPopups() As Integer