AddShadow example for C++ 5.0 and later

ILEADRasterProcess* m_pRasterProc= NULL;

CoCreateInstance(CLSID_LEADRasterProcess, NULL,   CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);

m_pRasterProc->AddShadow(m_LeadRasterView.GetRaster(),SHADOW_SE, 0, ADOW_CLR_GRAY);

m_pRasterProc->Release();