Commit c6b999b9 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

shell32: Add more knownfolders.

parent c1c06a90
...@@ -924,7 +924,7 @@ struct knownFolderDef { ...@@ -924,7 +924,7 @@ struct knownFolderDef {
*/ */
static const struct knownFolderDef known_folders[] = { static const struct knownFolderDef known_folders[] = {
KNOWN_FOLDER(FOLDERID_AddNewPrograms, KNOWN_FOLDER(FOLDERID_AddNewPrograms,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"AddNewProgramsFolder", "AddNewProgramsFolder",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -943,7 +943,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -943,7 +943,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_PRECREATE), KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_AppUpdates, KNOWN_FOLDER(FOLDERID_AppUpdates,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"AppUpdatesFolder", "AppUpdatesFolder",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -953,7 +953,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -953,7 +953,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_CDBurning, KNOWN_FOLDER(FOLDERID_CDBurning,
CSIDL_CDBURN_AREA|KFD_TODO_WINE, CSIDL_CDBURN_AREA,
"CD Burning", "CD Burning",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_LocalAppData, GUID_NULL, FOLDERID_LocalAppData, GUID_NULL,
...@@ -962,7 +962,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -962,7 +962,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_LOCAL_REDIRECT_ONLY), KFDF_LOCAL_REDIRECT_ONLY),
KNOWN_FOLDER(FOLDERID_ChangeRemovePrograms, KNOWN_FOLDER(FOLDERID_ChangeRemovePrograms,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"ChangeRemoveProgramsFolder", "ChangeRemoveProgramsFolder",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -981,7 +981,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -981,7 +981,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_PRECREATE), KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_CommonOEMLinks, KNOWN_FOLDER(FOLDERID_CommonOEMLinks,
CSIDL_COMMON_OEM_LINKS|KFD_TODO_WINE, CSIDL_COMMON_OEM_LINKS,
"OEM Links", "OEM Links",
KF_CATEGORY_COMMON, KF_CATEGORY_COMMON,
FOLDERID_ProgramData, GUID_NULL, FOLDERID_ProgramData, GUID_NULL,
...@@ -1035,7 +1035,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1035,7 +1035,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_ConflictFolder, KNOWN_FOLDER(FOLDERID_ConflictFolder,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"ConflictFolder", "ConflictFolder",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -1055,7 +1055,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1055,7 +1055,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_Contacts, KNOWN_FOLDER(FOLDERID_Contacts,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"Contacts", "Contacts",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_Profile, GUID_NULL, FOLDERID_Profile, GUID_NULL,
...@@ -1092,7 +1092,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1092,7 +1092,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_ROAMABLE | KFDF_PRECREATE | KFDF_PUBLISHEXPANDEDPATH), KFDF_ROAMABLE | KFDF_PRECREATE | KFDF_PUBLISHEXPANDEDPATH),
KNOWN_FOLDER(FOLDERID_DeviceMetadataStore, KNOWN_FOLDER(FOLDERID_DeviceMetadataStore,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"Device Metadata Store", "Device Metadata Store",
KF_CATEGORY_COMMON, KF_CATEGORY_COMMON,
FOLDERID_ProgramData, GUID_NULL, FOLDERID_ProgramData, GUID_NULL,
...@@ -1110,7 +1110,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1110,7 +1110,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_ROAMABLE | KFDF_PRECREATE), KFDF_ROAMABLE | KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_DocumentsLibrary, KNOWN_FOLDER(FOLDERID_DocumentsLibrary,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"DocumentsLibrary", "DocumentsLibrary",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_Libraries, GUID_NULL, FOLDERID_Libraries, GUID_NULL,
...@@ -1119,7 +1119,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1119,7 +1119,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
KFDF_PRECREATE | KFDF_STREAM), KFDF_PRECREATE | KFDF_STREAM),
KNOWN_FOLDER(FOLDERID_Downloads, KNOWN_FOLDER(FOLDERID_Downloads,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"Downloads", "Downloads",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_Profile, GUID_NULL, FOLDERID_Profile, GUID_NULL,
...@@ -1146,7 +1146,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1146,7 +1146,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_Games, KNOWN_FOLDER(FOLDERID_Games,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"Games", "Games",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -1155,7 +1155,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1155,7 +1155,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_GameTasks, KNOWN_FOLDER(FOLDERID_GameTasks,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"GameTasks", "GameTasks",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_LocalAppData, GUID_NULL, FOLDERID_LocalAppData, GUID_NULL,
...@@ -1173,7 +1173,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1173,7 +1173,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
KFDF_LOCAL_REDIRECT_ONLY), KFDF_LOCAL_REDIRECT_ONLY),
KNOWN_FOLDER(FOLDERID_HomeGroup, KNOWN_FOLDER(FOLDERID_HomeGroup,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"HomeGroupFolder", "HomeGroupFolder",
KF_CATEGORY_VIRTUAL, KF_CATEGORY_VIRTUAL,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -1182,7 +1182,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1182,7 +1182,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_ImplicitAppShortcuts, KNOWN_FOLDER(FOLDERID_ImplicitAppShortcuts,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"ImplicitAppShortcuts", "ImplicitAppShortcuts",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_UserPinned, GUID_NULL, FOLDERID_UserPinned, GUID_NULL,
...@@ -1209,7 +1209,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1209,7 +1209,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_Libraries, KNOWN_FOLDER(FOLDERID_Libraries,
NO_CSIDL|KFD_TODO_WINE, NO_CSIDL,
"Libraries", "Libraries",
KF_CATEGORY_PERUSER, KF_CATEGORY_PERUSER,
FOLDERID_RoamingAppData, GUID_NULL, FOLDERID_RoamingAppData, GUID_NULL,
...@@ -1245,7 +1245,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1245,7 +1245,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED,
KFDF_LOCAL_REDIRECT_ONLY | KFDF_PRECREATE | KFDF_PUBLISHEXPANDEDPATH), KFDF_LOCAL_REDIRECT_ONLY | KFDF_PRECREATE | KFDF_PUBLISHEXPANDEDPATH),
KNOWN_FOLDER(FOLDERID_LocalizedResourcesDir, KNOWN_FOLDER(FOLDERID_LocalizedResourcesDir,
CSIDL_RESOURCES_LOCALIZED|KFD_TODO_WINE, CSIDL_RESOURCES_LOCALIZED,
"LocalizedResourcesDir", "LocalizedResourcesDir",
KF_CATEGORY_FIXED, KF_CATEGORY_FIXED,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
...@@ -1490,7 +1490,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1490,7 +1490,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN, FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN,
KFDF_PRECREATE), KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_PublicMusic, KNOWN_FOLDER(FOLDERID_PublicMusic,
CSIDL_COMMON_MUSIC|KFD_TODO_WINE, CSIDL_COMMON_MUSIC,
"CommonMusic", "CommonMusic",
KF_CATEGORY_COMMON, KF_CATEGORY_COMMON,
FOLDERID_Public, GUID_NULL, FOLDERID_Public, GUID_NULL,
...@@ -1499,7 +1499,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1499,7 +1499,7 @@ static const struct knownFolderDef known_folders[] = {
FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_READONLY,
KFDF_PRECREATE), KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_PublicPictures, KNOWN_FOLDER(FOLDERID_PublicPictures,
CSIDL_COMMON_PICTURES|KFD_TODO_WINE, CSIDL_COMMON_PICTURES,
"CommonPictures", "CommonPictures",
KF_CATEGORY_COMMON, KF_CATEGORY_COMMON,
FOLDERID_Public, GUID_NULL, FOLDERID_Public, GUID_NULL,
...@@ -1517,7 +1517,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1517,7 +1517,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
KFDF_PRECREATE), KFDF_PRECREATE),
KNOWN_FOLDER(FOLDERID_PublicVideos, KNOWN_FOLDER(FOLDERID_PublicVideos,
CSIDL_COMMON_VIDEO|KFD_TODO_WINE, CSIDL_COMMON_VIDEO,
"CommonVideo", "CommonVideo",
KF_CATEGORY_COMMON, KF_CATEGORY_COMMON,
FOLDERID_Public, GUID_NULL, FOLDERID_Public, GUID_NULL,
...@@ -1562,7 +1562,7 @@ static const struct knownFolderDef known_folders[] = { ...@@ -1562,7 +1562,7 @@ static const struct knownFolderDef known_folders[] = {
0, 0,
0), 0),
KNOWN_FOLDER(FOLDERID_ResourceDir, KNOWN_FOLDER(FOLDERID_ResourceDir,
CSIDL_RESOURCES|KFD_TODO_WINE, CSIDL_RESOURCES,
"ResourceDir", "ResourceDir",
KF_CATEGORY_FIXED, KF_CATEGORY_FIXED,
GUID_NULL, GUID_NULL, GUID_NULL, GUID_NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment