Lines Matching refs:hr
61 HRESULT hr; in _tmain() local
62 if( FAILED( hr=CoInitialize(NULL))) in _tmain()
69 if( FAILED(hr=doTest())) in _tmain()
71 _com_error err( hr); in _tmain()
85 HRESULT hr= S_OK; in doTest() local
106 hr= SafeArrayPutElement( par, &i, &arbyte[i]); in doTest()
127 hr= SafeArrayGetUBound( par, 1, &uBound1); in doTest()
128 hr= SafeArrayGetUBound( par, 2, &uBound2); in doTest()
138 hr= SafeArrayPutElement( par, index2, &data); in doTest()
143 hr= SafeArrayAccessData( par, (void**)&pdata); in doTest()
151 hr= SafeArrayUnaccessData(par); in doTest()
164 hr= SafeArrayGetElement( arRet, &i, &varx); in doTest()
171 hr= SafeArrayGetElement( ari, &j, &varj); in doTest()
180 return hr; in doTest()