Lines Matching refs:hResult

374     HRESULT     hResult = iDialog->GetFileTypeIndex(&nIndex);  in impl_sta_getCurrentFilter()  local
376 ( FAILED(hResult) ) || in impl_sta_getCurrentFilter()
702 …HRESULT hResult = SHCreateItemFromParsingName ( reinterpret_cast<LPCTSTR>(sDirectory.getStr()), NU… in impl_sta_SetDirectory() local
704 …HRESULT hResult = SHCreateItemFromParsingName( sDirectory.getStr(), NULL, IID_PPV_ARGS(&pFolder) ); in impl_sta_SetDirectory() local
706 if ( FAILED(hResult) ) in impl_sta_SetDirectory()
722 HRESULT hResult = iDialog->GetFolder( &pFolder ); in impl_sta_GetDirectory() local
723 if ( FAILED(hResult) ) in impl_sta_GetDirectory()
743 …HRESULT hResult = iCustom->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CH… in impl_sta_SetDefaultName() local
778 …HRESULT hResult = iCustomize->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds:… in impl_sta_setFiltersOnDialog() local
810 HRESULT hResult = E_FAIL; in impl_sta_getSelectedFiles() local
815 hResult = iOpen->GetSelectedItems(&iItems); in impl_sta_getSelectedFiles()
818 hResult = iOpen->GetResults(&iItems); in impl_sta_getSelectedFiles()
819 if (FAILED(hResult)) in impl_sta_getSelectedFiles()
820 hResult = iOpen->GetResult(&iItem); in impl_sta_getSelectedFiles()
827 hResult = iSave->GetCurrentSelection(&iItem); in impl_sta_getSelectedFiles()
829 hResult = iSave->GetResult(&iItem); in impl_sta_getSelectedFiles()
832 if (FAILED(hResult)) in impl_sta_getSelectedFiles()
847 hResult = iItems->GetCount(&nCount); in impl_sta_getSelectedFiles()
848 if ( SUCCEEDED(hResult) ) in impl_sta_getSelectedFiles()
852 hResult = iItems->GetItemAt(i, &iItem); in impl_sta_getSelectedFiles()
853 if ( SUCCEEDED(hResult) ) in impl_sta_getSelectedFiles()
895 …HRESULT hResult = SHCreateItemFromParsingName ( reinterpret_cast<LPCTSTR>(m_sDirectory.getStr()), … in impl_sta_ShowDialogModal() local
897 …HRESULT hResult = SHCreateItemFromParsingName( m_sDirectory.getStr(), NULL, IID_PPV_ARGS(&pFolder)… in impl_sta_ShowDialogModal() local
899 if ( SUCCEEDED(hResult) ) in impl_sta_ShowDialogModal()
912 …HRESULT hResult = iCustom->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CH… in impl_sta_ShowDialogModal() local
917 hResult = iDialog->GetFileTypeIndex(&nFileType); in impl_sta_ShowDialogModal()
918 if ( SUCCEEDED(hResult) && nFileType > 0 ) in impl_sta_ShowDialogModal()
942 hResult = iDialog->AddPlace(pFolder, FDAP_TOP); in impl_sta_ShowDialogModal()
947 hResult = iDialog->AddPlace(pFolder, FDAP_TOP); in impl_sta_ShowDialogModal()
952 HRESULT hResult = E_FAIL; in impl_sta_ShowDialogModal() local
957 hResult = iOpen->Show( m_hParentWindow ); // parent window needed in impl_sta_ShowDialogModal()
960 hResult = iSave->Show( m_hParentWindow ); // parent window needed in impl_sta_ShowDialogModal()
971 if ( FAILED(hResult) ) in impl_sta_ShowDialogModal()
1032 HRESULT hResult; in lcl_removeControlItemsWorkaround() local
1034 hResult = iCustom->SetSelectedControlItem(nControlId, 1000); in lcl_removeControlItemsWorkaround()
1035 hResult = S_OK; in lcl_removeControlItemsWorkaround()
1036 while ( SUCCEEDED(hResult) ) in lcl_removeControlItemsWorkaround()
1037 hResult = iCustom->RemoveControlItem(nControlId, i++); in lcl_removeControlItemsWorkaround()
1074 HRESULT hResult; in impl_sta_SetControlValue() local
1079 hResult = iCustom->RemoveAllControlItems(nId); in impl_sta_SetControlValue()
1080 if ( FAILED(hResult) ) in impl_sta_SetControlValue()
1092hResult = iCustom->AddControlItem(nId, i, reinterpret_cast<LPCTSTR>(sItem.getStr())); in impl_sta_SetControlValue()
1101 hResult = iCustom->SetSelectedControlItem(nId, nItem); in impl_sta_SetControlValue()
1140 HRESULT hResult = iCustom->GetCheckButtonState(nId, &bValue); in impl_sta_GetControlValue() local
1141 if ( SUCCEEDED(hResult) ) in impl_sta_GetControlValue()