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