• Rob Shearman's avatar
    shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE… · c627a81a
    Rob Shearman authored
    shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE.
    
    Previously, the code would fail to get the name of an applet that didn't 
    return an icon for CPL_NEWINQUIRE and didn't return set either idName or 
    idIcon to a non-zero value for CPL_INQUIRE.
    
    Fix this by sending CPL_INQUIRE first and loading any strings or icon 
    specified and then only fall back to CPL_NEWINQUIRE if any of the 
    required members were zero (i.e. CPL_DYNAMIC_RES) and then only fill in 
    these fields.
    c627a81a
Name
Last commit
Last update
..
tests Loading commit data...
.gitignore Loading commit data...
Makefile.in Loading commit data...
autocomplete.c Loading commit data...
brsfolder.c Loading commit data...
cdrom.ico Loading commit data...
changenotify.c Loading commit data...
classes.c Loading commit data...
clipboard.c Loading commit data...
control.c Loading commit data...
cpanel.h Loading commit data...
cpanelfolder.c Loading commit data...
dataobject.c Loading commit data...
dde.c Loading commit data...
debughlp.c Loading commit data...
debughlp.h Loading commit data...
delete.ico Loading commit data...
desktop.ico Loading commit data...
dialogs.c Loading commit data...
document.ico Loading commit data...
dragdrophelper.c Loading commit data...
drive.ico Loading commit data...
enumidlist.c Loading commit data...
enumidlist.h Loading commit data...
floppy.ico Loading commit data...
folder.ico Loading commit data...
folder_open.ico Loading commit data...
folders.c Loading commit data...
iconcache.c Loading commit data...
mycomputer.ico Loading commit data...
mydocs.ico Loading commit data...
netdrive.ico Loading commit data...
netdrive2.ico Loading commit data...
pidl.c Loading commit data...
pidl.h Loading commit data...
printer.ico Loading commit data...
ramdisk.ico Loading commit data...
recyclebin.c Loading commit data...
regsvr.c Loading commit data...
searching.avi Loading commit data...
shell.c Loading commit data...
shell.spec Loading commit data...
shell32.spec Loading commit data...
shell32_Bg.rc Loading commit data...
shell32_Ca.rc Loading commit data...
shell32_Cn.rc Loading commit data...
shell32_Cs.rc Loading commit data...
shell32_Da.rc Loading commit data...
shell32_De.rc Loading commit data...
shell32_En.rc Loading commit data...
shell32_Eo.rc Loading commit data...
shell32_Es.rc Loading commit data...
shell32_Fi.rc Loading commit data...
shell32_Fr.rc Loading commit data...
shell32_Hu.rc Loading commit data...
shell32_It.rc Loading commit data...
shell32_Ja.rc Loading commit data...
shell32_Ko.rc Loading commit data...
shell32_Nl.rc Loading commit data...
shell32_No.rc Loading commit data...
shell32_Pl.rc Loading commit data...
shell32_Pt.rc Loading commit data...
shell32_Ru.rc Loading commit data...
shell32_Si.rc Loading commit data...
shell32_Sk.rc Loading commit data...
shell32_Sv.rc Loading commit data...
shell32_Tr.rc Loading commit data...
shell32_Uk.rc Loading commit data...
shell32_Wa.rc Loading commit data...
shell32_Zh.rc Loading commit data...
shell32_main.c Loading commit data...
shell32_main.h Loading commit data...
shellfolder.h Loading commit data...
shelllink.c Loading commit data...
shellole.c Loading commit data...
shellord.c Loading commit data...
shellpath.c Loading commit data...
shellreg.c Loading commit data...
shellstring.c Loading commit data...
shfldr.h Loading commit data...
shfldr_desktop.c Loading commit data...
shfldr_fs.c Loading commit data...
shfldr_mycomp.c Loading commit data...
shfldr_netplaces.c Loading commit data...
shfldr_unixfs.c Loading commit data...
shlexec.c Loading commit data...
shlfileop.c Loading commit data...
shlfolder.c Loading commit data...
shlfsbind.c Loading commit data...
shlmenu.c Loading commit data...
shlview.c Loading commit data...
shortcut.ico Loading commit data...
shpolicy.c Loading commit data...
shres.rc Loading commit data...
shresdef.h Loading commit data...
shv_bg_cmenu.c Loading commit data...
shv_item_cmenu.c Loading commit data...
systray.c Loading commit data...
trash.c Loading commit data...
trash_file.ico Loading commit data...
undocshell.h Loading commit data...
version.h Loading commit data...
version.rc Loading commit data...
version16.rc Loading commit data...
xdg.c Loading commit data...
xdg.h Loading commit data...