Lines Matching refs:hresult
32 void CheckComAptTypeTask(APTTYPE* apt_type_out, HRESULT* hresult) {
33 typedef HRESULT (WINAPI * CoGetApartmentTypeFunc)
38 *hresult = E_NOTIMPL;
51 *hresult = (*co_get_apartment_type)(apt_type_out, &apt_type_qualifier);
155 HRESULT hresult = E_FAIL;
158 base::Bind(&CheckComAptTypeTask, &apt_type, &hresult));
165 EXPECT_EQ(S_OK, hresult);
168 EXPECT_EQ(E_NOTIMPL, hresult);
181 HRESULT hresult = E_FAIL;
184 base::Bind(&CheckComAptTypeTask, &apt_type, &hresult));
191 EXPECT_EQ(S_OK, hresult);
196 EXPECT_EQ(E_NOTIMPL, hresult);