GammaCorrectExt example for Visual C++
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->GammaCorrectExt(m_LeadRasterView.GetRaster(), 250, GMCR_YUV_SPACE);
m_pRasterProc->Release();