Wave Example for C++ 5.0 and later

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

m_pRasterProc->Wave(m_LeadRasterView.GetRaster (), 20, 25 ,0 ,100 ,100, RGB(0,0,0) ,FILL_RPT | DIS_PER | WV_SIN );
m_pRasterProc->Release();