Type example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
CString strOut;
m_pRasterProc->GetOverlayAttributes(m_LeadRasterView.GetRaster(),0,OVERLAYATTRIBUTES_FLAGS);
strOut.Format("Type = %s \n"
"BitsAllocated = %d\n"
"Description = %s\n"
"Subtype = %s\n"
"Label = %s\n",
m_pRasterProc->OverlayAttributes->Type,
m_pRasterProc->OverlayAttributes->BitsAllocated,
m_pRasterProc->OverlayAttributes->Description,
m_pRasterProc->OverlayAttributes->Subtype,
m_pRasterProc->OverlayAttributes->Label);
MessageBox(strOut);
m_pRasterProc->Release();