I'm trying to detect the show system and hidden files settings from Windows Explorer in an application I'm writing. I'm using SHGetSetSettings and in calling it I have to specify one or more of the SSF Constants to specify what settings to retrieve.
Finding out the hidden files settings was easy enough, I just had to specify SSF_SHOWALLOBJECTS
to retrieve that setting. As for the system files setting, I'm a bit confused between SSF_SHOWSYSFILES
and SSF_SHOWSUPERHIDDEN
. It appears that "Hide protected operating system files" in Explorer's "Folder Options" maps to SSF_SHOWSUPERHIDDEN
, but I can't find any setting that appears to map to SSF_SHOWSYSFILES
.
Does anyone know what SSF_SHOWSYSFILES
is used for or why it's there? Is it just a legacy setting that is no longer used in Windows?