Lines Matching full:hresult
121 virtual HRESULT AddCommonRGSReplacements(IRegistrarBase* registrar) throw() {
122 HRESULT hr = ParentClass::AddCommonRGSReplacements(registrar);
256 HRESULT RefreshElevationPolicy() {
259 HRESULT hr = E_NOTIMPL;
269 typedef HRESULT (__stdcall *IERefreshPolicy)();
313 HRESULT SetupRunOnce() {
314 HRESULT result = E_FAIL;
356 HRESULT SetupUserLevelHelper() {
357 HRESULT hr = S_OK;
424 HRESULT SetChromeFrameUA(bool is_system, const wchar_t* value) {
425 HRESULT hr = E_FAIL;
614 HRESULT SetOrDeleteMimeHandlerKey(bool set, HKEY root_key) {
621 HRESULT result = S_OK;
639 HRESULT RegisterSecuredMimeHandler(bool enable, bool is_system) {
670 HRESULT hr = E_FAIL;
686 HRESULT RegisterActiveDoc(bool reg, bool is_system) {
693 HRESULT RegisterActiveX(bool reg, bool is_system) {
700 HRESULT RegisterElevationPolicy(bool reg, bool is_system) {
701 HRESULT hr = S_OK;
715 HRESULT RegisterProtocol(bool reg, bool is_system) {
719 HRESULT RegisterBhoClsid(bool reg, bool is_system) {
723 HRESULT RegisterBhoIE(bool reg, bool is_system) {
741 HRESULT RegisterTypeLib(bool reg, bool is_system) {
762 HRESULT RegisterLegacyNPAPICleanup(bool reg, bool is_system) {
771 HRESULT RegisterAppId(bool reg, bool is_system) {
775 HRESULT RegisterUserAgent(bool reg, bool is_system) {
809 // Mux the failure step into the hresult. We take only the first four bits
824 HRESULT MuxErrorIntoHRESULT(HRESULT hr, int error_code) {
831 DCHECK_EQ(static_cast<HRESULT>(hr & 0xF87FFFFF), hr);
833 HRESULT fiddled_hr = ((error_code & 0xF) << 23) | hr;
839 HRESULT CustomRegistration(uint16 reg_flags, bool reg, bool is_system) {
847 typedef HRESULT (*RegistrationFn)(bool reg, bool is_system);
867 HRESULT hr = S_OK;
871 HRESULT step_hr = S_OK;
876 // Store only the first failing HRESULT with the step value muxed in.
995 HRESULT hr = CustomRegistration(flags, true, true);
1006 HRESULT hr = CustomRegistration(ALL, false, true);
1016 HRESULT hr = CustomRegistration(flags, TRUE, false);
1027 HRESULT hr = CustomRegistration(ALL, FALSE, false);