0 out of 1 rated this helpful - Rate this topic

FOLDERTYPEID

Applies to: desktop apps only

The FOLDERTYPEID values represent a view template applied to a folder, usually based on its intended use and contents.

ConstantDescription
FOLDERTYPEID_Communications

Windows 7 and later. A folder that contains communication-related files such as emails, calendar information, and contact information.

FOLDERTYPEID_CompressedFolder

The folder is a compressed archive, such as a compressed file with a .zip file name extension.

FOLDERTYPEID_Contacts

An email-related folder that contains contact information.

FOLDERTYPEID_ControlPanelCategory

The Control Panel in category view. This is a virtual folder.

FOLDERTYPEID_ControlPanelClassic

The Control Panel in classic view. This is a virtual folder.

FOLDERTYPEID_Documents

The folder contains document files. These can be of mixed format—.doc, .txt, and others.

FOLDERTYPEID_Games

The folder is the Games folder found in the Start menu.

FOLDERTYPEID_Generic

Windows 7 and later. The folder does not fall under one of the other FOLDERTYPEID categories.

FOLDERTYPEID_GenericLibrary

Windows 7 and later. The folder is a library, but of no specified type.

FOLDERTYPEID_GenericSearchResults

Windows 7 and later. The folder contains search results, but they are of mixed or no specific type.

FOLDERTYPEID_Invalid

The folder is invalid. There are several things that can cause this judgement: hard disk errors, file system errors, and compression errors among them.

FOLDERTYPEID_Library

A default library view without a more specific template. This value is not supported in Windows 7 and later systems.

FOLDERTYPEID_Music

Windows 7 and later. The folder contains audio files, such as .mp3 and .wma files.

FOLDERTYPEID_MusicDetails

A list of music files displayed in Details view. This value is not supported in Windows 7 and later systems.

FOLDERTYPEID_MusicIcons

A list of music files displayed in Icons view. This value is not supported in Windows 7 and later systems.

FOLDERTYPEID_NetworkExplorer

The Network Explorer folder.

FOLDERTYPEID_NotSpecified

No particular content type has been detected or specified. This value is not supported in Windows 7 and later systems.

FOLDERTYPEID_OpenSearch

Windows 7 and later. The folder contains federated search OpenSearch results.

FOLDERTYPEID_OtherUsers

Windows 7 and later.

FOLDERTYPEID_Pictures

Image files, such as .jpg, .tif, or .png files.

FOLDERTYPEID_Printers

Printers that have been added to the system. This is a virtual folder.

FOLDERTYPEID_PublishedItems

Windows 7 and later. A homegroup user's libraries.

FOLDERTYPEID_RecordedTV

Windows 7 and later. The folder contains recorded television broadcasts.

FOLDERTYPEID_RecycleBin

The Recycle Bin. This is a virtual folder.

FOLDERTYPEID_SavedGames

Windows 7 and later. The folder contains saved game states.

FOLDERTYPEID_SearchConnector

Windows 7 and later.

FOLDERTYPEID_Searches

Windows 7 and later. A user's Searches folder, normally found at C:\Users\username\Searches.

FOLDERTYPEID_SearchHome

Windows 7 and later.

FOLDERTYPEID_SoftwareExplorer

The software explorer window used by the Add or Remove Programs control panel icon.

FOLDERTYPEID_StartMenu

Windows 7 and later. A user's Start Menu folder, normally found at C:\Users\username\Start Menu.

FOLDERTYPEID_UserFiles

The folder is the FOLDERID_UsersFiles folder.

FOLDERTYPEID_UsersLibraries

Windows 7 and later. The view shown when the user clicks the Windows Explorer button on the taskbar.

FOLDERTYPEID_UserTiles

Windows 8 and later:

FOLDERTYPEID_Videos

Windows 7 and later. The folder contains video files. These can be of mixed format—.wmv, .mov, and others.

Remarks

FOLDERTYPEID values are GUIDs and are declared in Shlguid.h.

In practice, any FOLDERTYPEID value can be applied to any folder regardless of that folder's contents. The FOLDERTYPEID is a view template only, supplying appropriate layout and columns for the expected folder content. There is no verification of the folder contents against the FOLDERTYPEID value to ensure suitability.

These and other folder types are defined in the registry under the FolderTypes subkey, which is located as shown here:

HKEY_LOCAL_MACHINE
   SOFTWARE
      Microsoft
         Windows
            CurrentVersion
               Explorer
                  FolderTypes

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Shlguid.h

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ