| Modifier and Type | Class and Description |
|---|---|
| public static enum | ShlObj.KNOWN_FOLDER_FLAG
KnownFolder flags as used by SHGetKnownFolderPath, SHGetKnownFolderIDList and others. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final WinDef. | |
| public static final WinDef. |
| CSIDL_ADMINTOOLS | back to summary |
|---|---|
| public static final int CSIDL_ADMINTOOLS | |
| CSIDL_ALTSTARTUP | back to summary |
|---|---|
| public static final int CSIDL_ALTSTARTUP | |
| CSIDL_APPDATA | back to summary |
|---|---|
| public static final int CSIDL_APPDATA | |
| CSIDL_BITBUCKET | back to summary |
|---|---|
| public static final int CSIDL_BITBUCKET | |
| CSIDL_CDBURN_AREA | back to summary |
|---|---|
| public static final int CSIDL_CDBURN_AREA | |
| CSIDL_COMMON_ADMINTOOLS | back to summary |
|---|---|
| public static final int CSIDL_COMMON_ADMINTOOLS | |
| CSIDL_COMMON_ALTSTARTUP | back to summary |
|---|---|
| public static final int CSIDL_COMMON_ALTSTARTUP | |
| CSIDL_COMMON_APPDATA | back to summary |
|---|---|
| public static final int CSIDL_COMMON_APPDATA | |
| CSIDL_COMMON_DESKTOPDIRECTORY | back to summary |
|---|---|
| public static final int CSIDL_COMMON_DESKTOPDIRECTORY | |
| CSIDL_COMMON_DOCUMENTS | back to summary |
|---|---|
| public static final int CSIDL_COMMON_DOCUMENTS | |
| CSIDL_COMMON_FAVORITES | back to summary |
|---|---|
| public static final int CSIDL_COMMON_FAVORITES | |
| CSIDL_COMMON_MUSIC | back to summary |
|---|---|
| public static final int CSIDL_COMMON_MUSIC | |
| CSIDL_COMMON_OEM_LINKS | back to summary |
|---|---|
| public static final int CSIDL_COMMON_OEM_LINKS | |
| CSIDL_COMMON_PICTURES | back to summary |
|---|---|
| public static final int CSIDL_COMMON_PICTURES | |
| CSIDL_COMMON_PROGRAMS | back to summary |
|---|---|
| public static final int CSIDL_COMMON_PROGRAMS | |
| CSIDL_COMMON_STARTMENU | back to summary |
|---|---|
| public static final int CSIDL_COMMON_STARTMENU | |
| CSIDL_COMMON_STARTUP | back to summary |
|---|---|
| public static final int CSIDL_COMMON_STARTUP | |
| CSIDL_COMMON_TEMPLATES | back to summary |
|---|---|
| public static final int CSIDL_COMMON_TEMPLATES | |
| CSIDL_COMMON_VIDEO | back to summary |
|---|---|
| public static final int CSIDL_COMMON_VIDEO | |
| CSIDL_COMPUTERSNEARME | back to summary |
|---|---|
| public static final int CSIDL_COMPUTERSNEARME | |
| CSIDL_CONNECTIONS | back to summary |
|---|---|
| public static final int CSIDL_CONNECTIONS | |
| CSIDL_CONTROLS | back to summary |
|---|---|
| public static final int CSIDL_CONTROLS | |
| CSIDL_COOKIES | back to summary |
|---|---|
| public static final int CSIDL_COOKIES | |
| CSIDL_DESKTOP | back to summary |
|---|---|
| public static final int CSIDL_DESKTOP | |
| CSIDL_DESKTOPDIRECTORY | back to summary |
|---|---|
| public static final int CSIDL_DESKTOPDIRECTORY | |
| CSIDL_DRIVES | back to summary |
|---|---|
| public static final int CSIDL_DRIVES | |
| CSIDL_FAVORITES | back to summary |
|---|---|
| public static final int CSIDL_FAVORITES | |
| CSIDL_FONTS | back to summary |
|---|---|
| public static final int CSIDL_FONTS | |
| CSIDL_HISTORY | back to summary |
|---|---|
| public static final int CSIDL_HISTORY | |
| CSIDL_INTERNET | back to summary |
|---|---|
| public static final int CSIDL_INTERNET | |
| CSIDL_INTERNET_CACHE | back to summary |
|---|---|
| public static final int CSIDL_INTERNET_CACHE | |
| CSIDL_LOCAL_APPDATA | back to summary |
|---|---|
| public static final int CSIDL_LOCAL_APPDATA | |
| CSIDL_MYDOCUMENTS | back to summary |
|---|---|
| public static final int CSIDL_MYDOCUMENTS | |
| CSIDL_MYMUSIC | back to summary |
|---|---|
| public static final int CSIDL_MYMUSIC | |
| CSIDL_MYPICTURES | back to summary |
|---|---|
| public static final int CSIDL_MYPICTURES | |
| CSIDL_MYVIDEO | back to summary |
|---|---|
| public static final int CSIDL_MYVIDEO | |
| CSIDL_NETHOOD | back to summary |
|---|---|
| public static final int CSIDL_NETHOOD | |
| CSIDL_NETWORK | back to summary |
|---|---|
| public static final int CSIDL_NETWORK | |
| CSIDL_PERSONAL | back to summary |
|---|---|
| public static final int CSIDL_PERSONAL | |
| CSIDL_PRINTERS | back to summary |
|---|---|
| public static final int CSIDL_PRINTERS | |
| CSIDL_PRINTHOOD | back to summary |
|---|---|
| public static final int CSIDL_PRINTHOOD | |
| CSIDL_PROFILE | back to summary |
|---|---|
| public static final int CSIDL_PROFILE | |
| CSIDL_PROGRAM_FILES | back to summary |
|---|---|
| public static final int CSIDL_PROGRAM_FILES | |
| CSIDL_PROGRAM_FILES_COMMON | back to summary |
|---|---|
| public static final int CSIDL_PROGRAM_FILES_COMMON | |
| CSIDL_PROGRAM_FILES_COMMONX86 | back to summary |
|---|---|
| public static final int CSIDL_PROGRAM_FILES_COMMONX86 | |
| CSIDL_PROGRAM_FILESX86 | back to summary |
|---|---|
| public static final int CSIDL_PROGRAM_FILESX86 | |
| CSIDL_PROGRAMS | back to summary |
|---|---|
| public static final int CSIDL_PROGRAMS | |
| CSIDL_RECENT | back to summary |
|---|---|
| public static final int CSIDL_RECENT | |
| CSIDL_RESOURCES | back to summary |
|---|---|
| public static final int CSIDL_RESOURCES | |
| CSIDL_RESOURCES_LOCALIZED | back to summary |
|---|---|
| public static final int CSIDL_RESOURCES_LOCALIZED | |
| CSIDL_SENDTO | back to summary |
|---|---|
| public static final int CSIDL_SENDTO | |
| CSIDL_STARTMENU | back to summary |
|---|---|
| public static final int CSIDL_STARTMENU | |
| CSIDL_STARTUP | back to summary |
|---|---|
| public static final int CSIDL_STARTUP | |
| CSIDL_SYSTEM | back to summary |
|---|---|
| public static final int CSIDL_SYSTEM | |
| CSIDL_SYSTEMX86 | back to summary |
|---|---|
| public static final int CSIDL_SYSTEMX86 | |
| CSIDL_TEMPLATES | back to summary |
|---|---|
| public static final int CSIDL_TEMPLATES | |
| CSIDL_WINDOWS | back to summary |
|---|---|
| public static final int CSIDL_WINDOWS | |
| SHGFP_TYPE_CURRENT | back to summary |
|---|---|
| public static final WinDef. | |
| SHGFP_TYPE_DEFAULT | back to summary |
|---|---|
| public static final WinDef. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ShlObj. | ALIAS_ONLY
Introduced in Windows 7. |
| public static final ShlObj. | CREATE
Forces the creation of the specified folder if that folder does not already exist. |
| public static final ShlObj. | DEFAULT_PATH
Gets the default path for a known folder. |
| public static final ShlObj. | DONT_UNEXPAND
Stores the full path in the registry without using environment strings. |
| public static final ShlObj. | DONT_VERIFY
Do not verify the folder's existence before attempting to retrieve the path or IDList. |
| private int | |
| public static final ShlObj. | INIT
Initializes the folder using its Desktop.ini settings. |
| public static final ShlObj. | NO_ALIAS
Gets the true system path for the folder, free of any aliased placeholders such as %USERPROFILE%, returned by SHGetKnownFolderIDList and IKnownFolder::GetIDList. |
| public static final ShlObj. | NO_APPCONTAINER_REDIRECTION
Introduced in Windows 7: When running inside an app container, or when providing an app container token, this flag prevents redirection to app container folders. |
| public static final ShlObj. | NONE
None |
| public static final ShlObj. | NOT_PARENT_RELATIVE
Gets the folder's default path independent of the current location of its parent. |
| public static final ShlObj. | SIMPLE_IDLIST
Build a simple IDList (PIDL) This value can be used when you want to retrieve the file system path but do not specify this value if you are retrieving the localized display name of the folder because it might not resolve correctly. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static ShlObj. | |
| public static ShlObj. |
| ALIAS_ONLY | back to summary |
|---|---|
| public static final ShlObj. Introduced in Windows 7. Return only aliased PIDLs. Do not use the file system path. | |
| CREATE | back to summary |
|---|---|
| public static final ShlObj. Forces the creation of the specified folder if that folder does not already exist. The security provisions predefined for that folder are applied. If the folder does not exist and cannot be created, the function returns a failure code and no path is returned. This value can be used only with the following functions and methods:
| |
| DEFAULT_PATH | back to summary |
|---|---|
| public static final ShlObj. Gets the default path for a known folder. If this flag is not set, the function retrieves the current-and possibly redirected-path of the folder. The execution of this flag includes a verification of the folder's existence unless KF_FLAG_DONT_VERIFY is set. | |
| DONT_UNEXPAND | back to summary |
|---|---|
| public static final ShlObj. Stores the full path in the registry without using environment strings. If this flag is not set, portions of the path may be represented by environment strings such as %USERPROFILE%. This flag can only be used with SHSetKnownFolderPath and IKnownFolder::SetPath. | |
| DONT_VERIFY | back to summary |
|---|---|
| public static final ShlObj. Do not verify the folder's existence before attempting to retrieve the path or IDList. If this flag is not set, an attempt is made to verify that the folder is truly present at the path. If that verification fails due to the folder being absent or inaccessible, the function returns a failure code and no path is returned. If the folder is located on a network, the function might take a longer time to execute. Setting this flag can reduce that lag time. | |
| flag | back to summary |
|---|---|
| private int flag | |
| INIT | back to summary |
|---|---|
| public static final ShlObj. Initializes the folder using its Desktop.ini settings. If the folder cannot be initialized, the function returns a failure code and no path is returned. This flag should always be combined with KF_FLAG_CREATE. | |
| NO_ALIAS | back to summary |
|---|---|
| public static final ShlObj. Gets the true system path for the folder, free of any aliased placeholders such as %USERPROFILE%, returned by SHGetKnownFolderIDList and IKnownFolder::GetIDList. This flag has no effect on paths returned by SHGetKnownFolderPath and IKnownFolder::GetPath. By default, known folder retrieval functions and methods return the aliased path if an alias exists. | |
| NO_APPCONTAINER_REDIRECTION | back to summary |
|---|---|
| public static final ShlObj. Introduced in Windows 7: When running inside an app container, or when providing an app container token, this flag prevents redirection to app container folders. Instead, it retrieves the path that would be returned where it not running inside an app container. | |
| NONE | back to summary |
|---|---|
| public static final ShlObj. None | |
| NOT_PARENT_RELATIVE | back to summary |
|---|---|
| public static final ShlObj. Gets the folder's default path independent of the current location of its parent. KF_FLAG_DEFAULT_PATH must also be set. | |
| SIMPLE_IDLIST | back to summary |
|---|---|
| public static final ShlObj. Build a simple IDList (PIDL) This value can be used when you want to retrieve the file system path but do not specify this value if you are retrieving the localized display name of the folder because it might not resolve correctly. | |
| KNOWN_FOLDER_FLAG | back to summary |
|---|---|
| private KNOWN_FOLDER_FLAG(int flag) | |
| getFlag | back to summary |
|---|---|
| public int getFlag() | |
| valueOf | back to summary |
|---|---|
| public static ShlObj. | |
| values | back to summary |
|---|---|
| public static ShlObj. | |