Home | History | Annotate | Download | only in xmlwf

Lines Matching refs:hr

135 Callback::OnStopBinding(HRESULT hr, LPCWSTR szError)
145 stopHandler_(stopArg_, hr);
180 HRESULT hr = pBinding_->QueryInterface(IID_IWinInetHttpInfo,
182 if (SUCCEEDED(hr)) {
187 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType,
189 if (SUCCEEDED(hr)) {
222 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead);
223 if (SUCCEEDED(hr)) {
297 HRESULT hr;
300 hr = CreateURLMoniker(0, uri, &m);
308 hr = CreateURLMoniker(baseMoniker, uriw, &m);
311 if (FAILED(hr))
312 return hr;
318 if (FAILED(hr = CreateAsyncBindCtx(0, cb, 0, &b))) {
321 return hr;
325 hr = m->BindToStorage(b, 0, IID_IStream, (void **)&pStream);
326 if (SUCCEEDED(hr)) {
330 if (hr == MK_S_ASYNCHRONOUS)
331 hr = S_OK;
334 return hr;
339 HRESULT hr;
344 winPerror(const XML_Char *url, HRESULT hr)
350 hr,
358 hr,
369 _ftprintf(stderr, _T("%s: error %x\n"), url, hr);
373 threadQuit(void *p, HRESULT hr)
376 qi->hr = hr;
403 HRESULT hr = openStream(parser, baseMoniker, url, threadQuit, &qi);
404 if (FAILED(hr)) {
405 winPerror(url, hr);
408 else if (FAILED(qi.hr)) {
409 winPerror(url, qi.hr);