ShellSpecialFolderConstants Enumeration

Specifies unique, system-independent values that identify special folders. These folders are frequently used by applications but which may not have the same name or location on any given system. For example, the system folder can be "C:\Windows" on one system and "C:\Winnt" on another.

Syntax

typedef enum ShellSpecialFolderConstants {
  ssfDESKTOP,
  ssfPROGRAMS,
  ssfCONTROLS,
  ssfPRINTERS,
  ssfPERSONAL,
  ssfFAVORITES,
  ssfSTARTUP,
  ssfRECENT,
  ssfSENDTO,
  ssfBITBUCKET,
  ssfSTARTMENU,
  ssfDESKTOPDIRECTORY,
  ssfDRIVES,
  ssfNETWORK,
  ssfNETHOOD,
  ssfFONTS,
  ssfTEMPLATES,
  ssfCOMMONSTARTMENU,
  ssfCOMMONPROGRAMS,
  ssfCOMMONSTARTUP,
  ssfCOMMONDESKTOPDIR,
  ssfAPPDATA,
  ssfPRINTHOOD,
  ssfLOCALAPPDATA,
  ssfALTSTARTUP,
  ssfCOMMONALTSTARTUP,
  ssfCOMMONFAVORITES,
  ssfINTERNETCACHE,
  ssfCOOKIES,
  ssfHISTORY,
  ssfCOMMONAPPDATA,
  ssfWINDOWS,
  ssfSYSTEM,
  ssfPROGRAMFILES,
  ssfMYPICTURES,
  ssfPROFILE,
  ssfSYSTEMx86,
  ssfPROGRAMFILESx86
} ;

Constants

Remarks

The values in this enumeration are equivalent to their corresponding CSIDL or KNOWNFOLDERID values, used in C++ applications. They supersede the use of environment variables for this purpose. Note that not all CSIDL or KNOWNFOLDERID values have an equivalent value in ShellSpecialFolderConstants.

Note   Where a constant identifies a file system folder, a commonly used path on Windows Vista systems is given as an example. However, there is no guarantee that this path will be used on any particular system, including Windows Vista systems.
 

Requirements

   
Header shldisp.h

See Also

CSIDL

KNOWNFOLDERID