这个语句是什么意
hr = CoCreateInstance(CLSID_DataPlot,NULL,CLSCTX_INPROC_SERVER,
IID_IDataPlot,(void**)&pFun);
if (FAILED(hr))
{
AfxMessageBox("unable to find Program ID -- error = %x\n", hr);
return ;
}
HWND hwnd = pDC->GetWindow()->GetSafeHwnd();