GetFunctionalLookupTable example for C++ 5.0 and later

  ILEADRasterProcess *pRasterProc=NULL; 
  CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc); 

   pRasterProc->GetFunctionalLookupTable(0, 255, 5, GL_EXP); 
   pRasterProc->RemapIntensity (m_RasterView1.GetRaster(), CHANNEL_MASTER); 

   pRasterProc->Release();