MEFilter API
Thursday, August 06, 2009 - 12:17 - Support
The MEFilter API allows you to access the registry settings used by MEFilter at both a global and domain level. This API can only be used by "Fully" registered users.
The following is an example of the usage:
Dim cObj as object Set cObj = CreateObject("MEFilterAPI.Config") cObj.DomainName = "" cObj.AreaName = "Gap Filter" sValue = cObj.LoadSetting("GapFilterNotifyFile", "Default Value") cObj.SaveSetting "GapFilterNotifyFile", "New Value" set cObj = nothing
The full list of functions are:
AreaName: Sets or returns the config area name.
DomainName: Sets or returns the domain name. Set To blank to get/set global settings.
IsAPIEnabled: Returns if the API is enabled for the system.
IsConfigAvailable: Return if registry config is available for the domain. This is based on the "Installed" registry key.
LoadSetting: Gets a specific setting from the registry.
SaveSetting: Saves a specific setting to the registry.