[SHELL32] Implement Folder Options File Types 'Change' button (#629)

CORE-12906
This commit is contained in:
Katayama Hirofumi MZ 2018-06-25 03:04:25 +09:00 committed by Hermès BÉLUSCA - MAÏTO
parent 6e6c46a832
commit 1b1e1baa6e

View file

@ -1704,8 +1704,10 @@ FolderOptionsFileTypesDlg(
pEntry = FileTypesDlg_GetEntry(GetDlgItem(hwndDlg, IDC_FILETYPES_LISTVIEW));
if (pEntry)
{
ZeroMemory(&Info, sizeof(Info));
Info.oaifInFlags = OAIF_ALLOW_REGISTRATION | OAIF_REGISTER_EXT;
Info.pcszClass = pEntry->FileExtension;
Info.pcszFile = pEntry->FileExtension;
Info.pcszClass = NULL;
SHOpenWithDialog(hwndDlg, &Info);
}
break;