hr                200 ext/com_dotnet/com_com.c 		qi.hr = S_OK;
hr                205 ext/com_dotnet/com_com.c 			res = qi.hr;
hr                341 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                345 ext/com_dotnet/com_com.c 	hr = IDispatch_Invoke(V_DISPATCH(&obj->v), id_member,
hr                348 ext/com_dotnet/com_com.c 	if (silent == 0 && FAILED(hr)) {
hr                352 ext/com_dotnet/com_com.c 		switch (hr) {
hr                384 ext/com_dotnet/com_com.c 				desc = php_win32_error_to_msg(hr);
hr                400 ext/com_dotnet/com_com.c 				desc = php_win32_error_to_msg(hr);
hr                401 ext/com_dotnet/com_com.c 				spprintf(&msg, 0, "Error [0x%08x] %s", hr, desc);
hr                407 ext/com_dotnet/com_com.c 			php_com_throw_exception(hr, msg);
hr                412 ext/com_dotnet/com_com.c 	return hr;
hr                420 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                435 ext/com_dotnet/com_com.c 		hr = ITypeInfo_GetIDsOfNames(obj->typeinfo, &olename, 1, dispid);
hr                436 ext/com_dotnet/com_com.c 		if (FAILED(hr)) {
hr                437 ext/com_dotnet/com_com.c 			hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid);
hr                438 ext/com_dotnet/com_com.c 			if (SUCCEEDED(hr)) {
hr                445 ext/com_dotnet/com_com.c 		hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid);
hr                449 ext/com_dotnet/com_com.c 	if (SUCCEEDED(hr)) {
hr                461 ext/com_dotnet/com_com.c 	return hr;
hr                470 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                479 ext/com_dotnet/com_com.c 	hr = php_com_get_id_of_name(obj, f->function_name->val, f->function_name->len, &dispid);
hr                481 ext/com_dotnet/com_com.c 	if (FAILED(hr)) {
hr                484 ext/com_dotnet/com_com.c 		winerr = php_win32_error_to_msg(hr);
hr                487 ext/com_dotnet/com_com.c 		php_com_throw_exception(hr, msg);
hr                548 ext/com_dotnet/com_com.c 	hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, 0, 0);
hr                586 ext/com_dotnet/com_com.c 	return SUCCEEDED(hr) ? SUCCESS : FAILURE;
hr                596 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                621 ext/com_dotnet/com_com.c 	hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, silent, allow_noarg);
hr                632 ext/com_dotnet/com_com.c 	if (hr == DISP_E_BADPARAMCOUNT)
hr                633 ext/com_dotnet/com_com.c 		return hr;
hr                635 ext/com_dotnet/com_com.c 	return SUCCEEDED(hr) ? SUCCESS : FAILURE;
hr                642 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                646 ext/com_dotnet/com_com.c 	hr = php_com_get_id_of_name(obj, name, namelen, &dispid);
hr                648 ext/com_dotnet/com_com.c 	if (FAILED(hr)) {
hr                649 ext/com_dotnet/com_com.c 		winerr = php_win32_error_to_msg(hr);
hr                652 ext/com_dotnet/com_com.c 		php_com_throw_exception(hr, msg);
hr                126 ext/com_dotnet/com_dotnet.c 	HRESULT hr;
hr                138 ext/com_dotnet/com_dotnet.c 	hr = CoCreateInstance(&CLSID_CorRuntimeHost, NULL, CLSCTX_ALL,
hr                141 ext/com_dotnet/com_dotnet.c 	if (FAILED(hr))
hr                146 ext/com_dotnet/com_dotnet.c 	hr = ICorRuntimeHost_Start(stuff->dotnet_host);
hr                147 ext/com_dotnet/com_dotnet.c 	if (FAILED(hr))
hr                151 ext/com_dotnet/com_dotnet.c 	hr = ICorRuntimeHost_GetDefaultDomain(stuff->dotnet_host, &unk);
hr                152 ext/com_dotnet/com_dotnet.c 	if (FAILED(hr))
hr                156 ext/com_dotnet/com_dotnet.c 	hr = IUnknown_QueryInterface(unk, &IID_mscorlib_System_AppDomain, (LPVOID*)&stuff->dotnet_domain);
hr                157 ext/com_dotnet/com_dotnet.c 	if (FAILED(hr))
hr                179 ext/com_dotnet/com_dotnet.c 		return hr;
hr                195 ext/com_dotnet/com_dotnet.c 	HRESULT hr;
hr                203 ext/com_dotnet/com_dotnet.c 		hr = dotnet_init(&where);
hr                204 ext/com_dotnet/com_dotnet.c 		if (FAILED(hr)) {
hr                206 ext/com_dotnet/com_dotnet.c 			char *err = php_win32_error_to_msg(hr);
hr                210 ext/com_dotnet/com_dotnet.c 			php_com_throw_exception(hr, buf);
hr                217 ext/com_dotnet/com_dotnet.c 		hr = ICorRuntimeHost_GetDefaultDomain(stuff->dotnet_host, &unk);
hr                218 ext/com_dotnet/com_dotnet.c 		if (FAILED(hr)) {
hr                220 ext/com_dotnet/com_dotnet.c 			char *err = php_win32_error_to_msg(hr);
hr                224 ext/com_dotnet/com_dotnet.c 			php_com_throw_exception(hr, buf);
hr                230 ext/com_dotnet/com_dotnet.c 		hr = IUnknown_QueryInterface(unk, &IID_mscorlib_System_AppDomain, (LPVOID*)&stuff->dotnet_domain);
hr                231 ext/com_dotnet/com_dotnet.c 		if (FAILED(hr)) {
hr                233 ext/com_dotnet/com_dotnet.c 			char *err = php_win32_error_to_msg(hr);
hr                237 ext/com_dotnet/com_dotnet.c 			php_com_throw_exception(hr, buf);
hr                258 ext/com_dotnet/com_dotnet.c 	hr = stuff->dotnet_domain->lpVtbl->CreateInstance(stuff->dotnet_domain, oleassembly_sys, oletype_sys, &unk);
hr                264 ext/com_dotnet/com_dotnet.c 	if (SUCCEEDED(hr)) {
hr                269 ext/com_dotnet/com_dotnet.c 		hr = IUnknown_QueryInterface(unk, &IID_IObjectHandle, &handle);
hr                271 ext/com_dotnet/com_dotnet.c 		if (SUCCEEDED(hr)) {
hr                273 ext/com_dotnet/com_dotnet.c 			hr = IObjectHandle_Unwrap(handle, &unwrapped);
hr                274 ext/com_dotnet/com_dotnet.c 			if (SUCCEEDED(hr)) {
hr                278 ext/com_dotnet/com_dotnet.c 					hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v));
hr                280 ext/com_dotnet/com_dotnet.c 					if (SUCCEEDED(hr)) {
hr                299 ext/com_dotnet/com_dotnet.c 					hr = E_INVALIDARG;
hr                309 ext/com_dotnet/com_dotnet.c 		char *err = php_win32_error_to_msg(hr);
hr                310 ext/com_dotnet/com_dotnet.c 		snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err);
hr                314 ext/com_dotnet/com_dotnet.c 		php_com_throw_exception(hr, buf);
hr                 44 ext/com_dotnet/com_typeinfo.c 	HRESULT hr;
hr                 67 ext/com_dotnet/com_typeinfo.c 		hr = LoadRegTypeLib((REFGUID)&clsid, major_i, minor_i, LANG_NEUTRAL, &TL);
hr                 71 ext/com_dotnet/com_typeinfo.c 		if (FAILED(hr) && (major == NULL || minor == NULL)) {
hr                 76 ext/com_dotnet/com_typeinfo.c 			if (SUCCEEDED(hr = CoCreateInstance(&clsid, NULL, CLSCTX_SERVER, &IID_IDispatch, (LPVOID*)&disp)) &&
hr                 77 ext/com_dotnet/com_typeinfo.c 					SUCCEEDED(hr = IDispatch_GetTypeInfo(disp, 0, LANG_NEUTRAL, &info))) {
hr                 78 ext/com_dotnet/com_typeinfo.c 				hr = ITypeInfo_GetContainingTypeLib(info, &TL, &idx);