Lines Matching refs:hr
42 HRESULT hr; in main() local
43 if( FAILED( hr=CoInitialize(NULL))) in main()
49 if( FAILED(hr=doTest())) in main()
51 _com_error err( hr); in main()
62 HRESULT hr; in doTest() local
66 if( FAILED(hr= spUnkMgr.CoCreateInstance(L"com.sun.star.ServiceManager"))) in doTest()
67 return hr; in doTest()
71 if (FAILED(hr= starManager.CreateInstance(_T("com.sun.star.ServiceManager")))) in doTest()
74 return hr; in doTest()
80 if (FAILED(hr= dispMgr.Invoke1(L"createInstance", &varP1, &varRet))) in doTest()
83 return hr; in doTest()
100 if (FAILED(hr= dispDesk.InvokeN(L"loadComponentFromURL", args, 4, &varRet))) in doTest()
103 return hr; in doTest()