IgnoreFilters example for C++ 5.0 and later
This example shows how to ignore filters so that they are not loaded.
'Declare as a member of your Window Class
ILEADRasterIO *pRasterIO=NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL,
CLSCTX_ALL, IID_ILEADRasterIO,
(void**)&pRasterIO);
// First, make sure PreLoaded Filters does not
// contain CMP, and that 0 filters can be cached
pRasterIO->PreLoadFilters(3, 0, "BMP,FAX,TIF");
// now, ignore cmp filter (never load cmp files)
pRasterIO->IgnoreFilters("CMP");