FILE_KNOWN_FOLDER_TYPE enumeration (ntifs.h)

A FILE_KNOWN_FOLDER_TYPE value identifies a known folder.

Syntax

typedef enum _FILE_KNOWN_FOLDER_TYPE {
  KnownFolderNone,
  KnownFolderDesktop,
  KnownFolderDocuments,
  KnownFolderDownloads,
  KnownFolderMusic,
  KnownFolderPictures,
  KnownFolderVideos,
  KnownFolderOther,
  KnownFolderMax
} FILE_KNOWN_FOLDER_TYPE;

Constants

 
KnownFolderNone
The folder is not a known folder type.
KnownFolderDesktop
The Desktop folder.
KnownFolderDocuments
The Desktop folder.
KnownFolderDownloads
The Desktop folder.
KnownFolderMusic
The Desktop folder.
KnownFolderPictures
The Desktop folder.
KnownFolderVideos
The Desktop folder.
KnownFolderOther
The folder is a known folder type other than one of the above identified folders.
KnownFolderMax
The maximum value for this enumeration.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header ntifs.h

See also

FILE_KNOWN_FOLDER_INFORMATION