Lines Matching refs:hr

38 	HRESULT hr;  in main()  local
39 if( FAILED( hr=CoInitialize(NULL))) in main()
48 if( FAILED(hr=doTest())) in main()
50 _com_error err( hr); in main()
66 HRESULT hr= S_OK; in doTest() local
69 hr= spUnk.CoCreateInstance(L"com.sun.star.ServiceManager"); in doTest()
70 if( FAILED( hr)) in doTest()
71 return hr; in doTest()
76 hr= manager.Invoke1((LPCOLESTR)L"createInstance", &param, &retVal ); in doTest()
82 hr= spUnk.CoCreateInstance(L"XCallback_Impl.Callback"); in doTest()
83 if( FAILED( hr)) in doTest()
84 return hr; in doTest()
96 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
99 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
102 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
105 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
108 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
111 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
114 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
117 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
120 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
123 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
126 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
129 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
132 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
135 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
138 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
141 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
144 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
157 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
160 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
163 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
166 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
169 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
172 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
175 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
178 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
181 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
184 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
187 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
190 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
193 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
196 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
202 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
206 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
209 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
218 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
221 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
224 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
228 hr= oletest.Invoke2(L"testInterface", &param1, &param2); in doTest()
234 hr= dispSimple.CoCreateInstance(L"XCallback_Impl.Simple"); in doTest()
237 hr= oletest.Invoke2(L"testInterface2", &varSimple, &param2); in doTest()
239 return hr; in doTest()