Instruction Manual

OEM External Specification
OEM User’s Guide520330-001
A-49
Adapter Request API (OEM to Adapter)
Configure
Use the Configure method to allow the user to set any adapter- specific options. The
OEM Gateway contains a configuration interface; through this facility, users can also
specify adapter properties. The adapter’s Configure method is called whenever the user
attempts to set adapter options. At that point, the adapter can display a modal dialog to
allow the user to alter adapter parameters as needed.
Parameters
None
Return Value
0 if the adapter supports user-configurable options
Non-zero if the adapter does not support user-configurable options
Considerations
The adapter should return zero if it displayed a configuration dialog or non-zero if it did
not. If a non-zero value is returned, the OEM Server informs the user that no user-
configurable options were available.
Example
Dim Adapter As New EMAdapterClass
Dim RC As Integer
RC = Adapter.Configure
Function Configure() As Integer