Should Ranger call my GetUniqueOptionsSupported() function?
No, Ranger does not call GetUniqueOptionsSupported(). However, applications such as RangerFlex may call this function to determine which unique options are available.
Related Articles
GetUniqueOptionsSupported() example
bool PluginMain::GetUniqueOptionsSupported(CString DeviceId, CString & XML) { PluginCallLogger LogCall("PluginMain::GetUniqueOptionsSupported(\"%s\", ...)", (LPCSTR)DeviceId); //if our base class is not happy with this call... if ...
Should DevicesInitialized() be called after every InitializeDevices() call?
In the InitializeDevices() function of the sample plug-in, whether a device is found or not, it calls the Ranger function DevicesInitialized(). So presumably calling this function doesn't mean the device has actually been initialized but only that ...
Which plug-in methods should have a call to AFX_MANAGE_STATE MFC state macro
This call ensures that the MFC state is correct. In order to guaruntee interoperabilty between plug-in versions and ranger versions AFX_MANAGE_STATE(AfxGetStaticModuleState()) should be called as the first call in any method called by Ranger. This ...
How to properly use Ranger Shutdown()
Why can't we call Shutdown() in every Ranger state? Many low-level scanner drivers require that they be shutdown in a specific orderly sequence. If they are abruptly disconnected, it can leave the scanner and/or device driver in an unexpected, and ...
How do I setup Ranger's OCR parameters?
If your check scanner supports OCR reading, then you define OCR parameters in Ranger's GenericOptions.ini file. Values in the GenericOptions.ini file and can be modified either manually or by calling Ranger's SetGenericOption() function prior to ...