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 includes the following methods:
- InitializePlugin()
- GetPluginDescription()
- AreDevicesAttached()
- InitializeDevices()
- GetDeviceConfiguration()
- PrepareToChangeOptions()
- EnableOption()
- StartFeeding()
- ProcessItem()
- StopFeeding()
- ShutdownPlugin()