OEM User's Guide
OEM External Specification
OEM User’s Guide—520330-001
A-52
Adapter Request API (OEM to Adapter)
CloseAdapter
The CloseAdapter method is used to inform the adapter that it can shut down. The OEM
server calls this method for each adapter when exiting or for a specific adapter if that
adapter is deactivated by the user. Once the OEM server has called this method for an
adapter, it does not attempt to communicate with the adapter again without instantiating
a new adapter interface object.
Parameters
None
Return Value
None
Considerations
The adapter should destroy all references to OEM server objects when this method is
called. Avoid situations in which the server or adapter cannot exit due to outstanding
external references.
Example
Dim Adapter As New EMAdapterClass
Adapter.CloseAdapter
Sub CloseAdapter()