Instruction Manual

OEM External Specification
OEM User’s Guide520330-001
A-16
OEM Request API (Client Application to OEM)
SetIcons
Use SetIcons to inform the OEM that the user has changed the default icon set in a client
application. The OEM subsequently passes this update to all other adapters and clients,
and modifies its own icon set if the Use Common Icons option is enabled.
Parameters
IconDirectoryName (input)
is the name of the directory containing the object and state images to use.
Return Value
0 if the OEM has accepted the call and handled the request (even if the icon set is
not updated)
Non-zero if the OEM cannot process the request
Considerations
If the Use Common Icons option is disabled, the OEM still passes the update
information to all clients and adapters. However, the OEM does not modify its own icon
set to utilize the new icons given in IconDirectoryName.
The client that called SetIcons receive a SetIcons callback from the OEM; the directory
name passed is identical to that supplied on the initial call.
Example
Dim OEM As New OEMClass
Dim RC As Integer
RC = OEM.SetIcons 'C:\MyIcons'
In this example, the client application sets the icon directory to “C:\MyIcons.
Function SetIcons(IconDirectoryName As String) As Integer