Lines Matching defs:hr
70 HRESULT hr = CorBindToRuntimeEx(NULL,NULL,0,CLSID_CorRuntimeHost,IID_ICorRuntimeHost,(VOID**)&pHost);
72 if(!FAILED(hr)) {
76 hr = pHost->Start();
77 if(!FAILED(hr)) {
81 hr = pHost->GetDefaultDomain(&pAppDomainThunk);
82 if(!FAILED(hr)) {
84 hr = pAppDomainThunk->QueryInterface(__uuidof(_AppDomain), (void**)&pAppDomain);
85 if(!FAILED(hr)) {
89 hr = pAppDomain->ExecuteAssembly_2(_bstr_t(wszApplication), &lReturn);
90 if (FAILED(hr)) {
92 printf("_AppDomain::ExecuteAssembly_2 failed with hr=0x%x.\n", hr);
102 printf("ICorRuntimeHost->GetDefaultDomain failed with hr=0x%x.\n", hr);
106 printf("ICorRuntimeHost->Start failed with hr=0x%x.\n", hr);
111 printf("CorBindToRuntimeHost failed with hr=0x%x.\n", hr);
117 if(FAILED(hr)){
125 hr,
133 printf("No translation of 0x%x\n",hr);