It is used for getting the current header information
Example code
CComPtr<ISmpReport>m_SmpReport; HRESULT hr=SmpReport.CoCreateInstance(CLSID_SmpReport); BSTR bstrMainHeading1,bstrSubHeading1,bstrMainHeading2,bstrSubHeading2,bstrHeaderImagePath; m_SmpReport->GetHeaderInfo(&m_bstrMainHeading1,&m_bstrSubHeading1,&m_bstrMainHeading2,&m_bstrSubHeading2,&m_bstrHeaderImagePath);