EnableLoadInfoEvent Example for C++ 5.0 and later
ILEADRasterIO *
pRasterIO = NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO,
(void**)&pRasterIO);
pRasterIO->EnableLoadInfoEvent
= TRUE;
pRasterIO->Load(m_RasterView.GetRaster(), TEXT("c:\\1.Fax"),
0, 0, 1);
if(pRasterIO)
pRasterIO->Release();