hr                201 ext/com_dotnet/com_com.c 		qi.hr = S_OK;
hr                206 ext/com_dotnet/com_com.c 			res = qi.hr;
hr                343 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                347 ext/com_dotnet/com_com.c 	hr = IDispatch_Invoke(V_DISPATCH(&obj->v), id_member,
hr                350 ext/com_dotnet/com_com.c 	if (silent == 0 && FAILED(hr)) {
hr                354 ext/com_dotnet/com_com.c 		switch (hr) {
hr                386 ext/com_dotnet/com_com.c 				desc = php_win32_error_to_msg(hr);
hr                402 ext/com_dotnet/com_com.c 				desc = php_win32_error_to_msg(hr);
hr                403 ext/com_dotnet/com_com.c 				spprintf(&msg, 0, "Error [0x%08x] %s", hr, desc);
hr                409 ext/com_dotnet/com_com.c 			php_com_throw_exception(hr, msg TSRMLS_CC);
hr                414 ext/com_dotnet/com_com.c 	return hr;
hr                422 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                437 ext/com_dotnet/com_com.c 		hr = ITypeInfo_GetIDsOfNames(obj->typeinfo, &olename, 1, dispid);
hr                438 ext/com_dotnet/com_com.c 		if (FAILED(hr)) {
hr                439 ext/com_dotnet/com_com.c 			hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid);
hr                440 ext/com_dotnet/com_com.c 			if (SUCCEEDED(hr)) {
hr                447 ext/com_dotnet/com_com.c 		hr = IDispatch_GetIDsOfNames(V_DISPATCH(&obj->v), &IID_NULL, &olename, 1, LOCALE_SYSTEM_DEFAULT, dispid);
hr                451 ext/com_dotnet/com_com.c 	if (SUCCEEDED(hr)) {
hr                460 ext/com_dotnet/com_com.c 	return hr;
hr                469 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                479 ext/com_dotnet/com_com.c 	hr = php_com_get_id_of_name(obj, name, namelen, &dispid TSRMLS_CC);
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 TSRMLS_CC);
hr                548 ext/com_dotnet/com_com.c 	hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, 0, 0 TSRMLS_CC);	
hr                580 ext/com_dotnet/com_com.c 	return SUCCEEDED(hr) ? SUCCESS : FAILURE;
hr                590 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                615 ext/com_dotnet/com_com.c 	hr = php_com_invoke_helper(obj, dispid, flags, &disp_params, v, silent, allow_noarg TSRMLS_CC);	
hr                626 ext/com_dotnet/com_com.c 	if (hr == DISP_E_BADPARAMCOUNT)
hr                627 ext/com_dotnet/com_com.c 		return hr;
hr                629 ext/com_dotnet/com_com.c 	return SUCCEEDED(hr) ? SUCCESS : FAILURE;
hr                636 ext/com_dotnet/com_com.c 	HRESULT hr;
hr                640 ext/com_dotnet/com_com.c 	hr = php_com_get_id_of_name(obj, name, namelen, &dispid TSRMLS_CC);
hr                642 ext/com_dotnet/com_com.c 	if (FAILED(hr)) {
hr                643 ext/com_dotnet/com_com.c 		winerr = php_win32_error_to_msg(hr);
hr                646 ext/com_dotnet/com_com.c 		php_com_throw_exception(hr, msg TSRMLS_CC);
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 TSRMLS_CC);
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 TSRMLS_CC);
hr                218 ext/com_dotnet/com_dotnet.c 		hr = ICorRuntimeHost_GetDefaultDomain(stuff->dotnet_host, &unk);
hr                219 ext/com_dotnet/com_dotnet.c 		if (FAILED(hr)) {
hr                221 ext/com_dotnet/com_dotnet.c 			char *err = php_win32_error_to_msg(hr);
hr                225 ext/com_dotnet/com_dotnet.c 			php_com_throw_exception(hr, buf TSRMLS_CC);
hr                231 ext/com_dotnet/com_dotnet.c 		hr = IUnknown_QueryInterface(unk, &IID_mscorlib_System_AppDomain, (LPVOID*)&stuff->dotnet_domain);
hr                232 ext/com_dotnet/com_dotnet.c 		if (FAILED(hr)) {
hr                234 ext/com_dotnet/com_dotnet.c 			char *err = php_win32_error_to_msg(hr);
hr                238 ext/com_dotnet/com_dotnet.c 			php_com_throw_exception(hr, buf TSRMLS_CC);
hr                260 ext/com_dotnet/com_dotnet.c 	hr = stuff->dotnet_domain->lpVtbl->CreateInstance(stuff->dotnet_domain, oleassembly_sys, oletype_sys, &unk);
hr                266 ext/com_dotnet/com_dotnet.c 	if (SUCCEEDED(hr)) {
hr                271 ext/com_dotnet/com_dotnet.c 		hr = IUnknown_QueryInterface(unk, &IID_IObjectHandle, &handle);
hr                273 ext/com_dotnet/com_dotnet.c 		if (SUCCEEDED(hr)) {
hr                275 ext/com_dotnet/com_dotnet.c 			hr = IObjectHandle_Unwrap(handle, &unwrapped);
hr                276 ext/com_dotnet/com_dotnet.c 			if (SUCCEEDED(hr)) {
hr                280 ext/com_dotnet/com_dotnet.c 					hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v));
hr                282 ext/com_dotnet/com_dotnet.c 					if (SUCCEEDED(hr)) {
hr                301 ext/com_dotnet/com_dotnet.c 					hr = E_INVALIDARG;
hr                311 ext/com_dotnet/com_dotnet.c 		char *err = php_win32_error_to_msg(hr);
hr                312 ext/com_dotnet/com_dotnet.c 		snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err);
hr                316 ext/com_dotnet/com_dotnet.c 		php_com_throw_exception(hr, buf TSRMLS_CC);
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);