KF_CATEGORY enumeration
Applies to: desktop apps only
Value that represent a category by which a folder registered with the Known Folder system can be classified.
Syntax
typedef enum _KF_CATEGORY {
KF_CATEGORY_VIRTUAL = 1,
KF_CATEGORY_FIXED = 2,
KF_CATEGORY_COMMON = 3,
KF_CATEGORY_PERUSER = 4
} KF_CATEGORY;
Constants
- KF_CATEGORY_VIRTUAL
-
Virtual folders are not part of the file system, which is to say that they have no path. For example, Control Panel and Printers are virtual folders. A number of features such as folder path and redirection do not apply to this category.
- KF_CATEGORY_FIXED
-
Fixed file system folders are not managed by the Shell and are usually given a permanent path when the system is installed. For example, the Windows and Program Files folders are fixed folders. A number of features such as redirection do not apply to this category.
- KF_CATEGORY_COMMON
-
Common folders are those file system folders used for sharing data and settings, accessible by all users of a system. For example, all users share a common Documents folder as well as their per-user Documents folder.
- KF_CATEGORY_PERUSER
-
Per-user folders are those stored under each user's profile and accessible only by that user. For example,
%USERPROFILE%\Pictures. This category of folder usually supports many features including aliasing, redirection and customization.Note The user profile root folder (FOLDERID_Profile) does not support redirection.
Remarks
The KF_CATEGORY type is defined in Shobjidl.h as shown here.
typedef DWORD KF_CATEGORY;
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012