Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies a file's perceived type. This set of constants is used in the AssocGetPerceivedType function.
Syntax
typedef enum tagPERCEIVED {
PERCEIVED_TYPE_FIRST = -3,
PERCEIVED_TYPE_CUSTOM = -3,
PERCEIVED_TYPE_UNSPECIFIED = -2,
PERCEIVED_TYPE_FOLDER = -1,
PERCEIVED_TYPE_UNKNOWN = 0,
PERCEIVED_TYPE_TEXT = 1,
PERCEIVED_TYPE_IMAGE = 2,
PERCEIVED_TYPE_AUDIO = 3,
PERCEIVED_TYPE_VIDEO = 4,
PERCEIVED_TYPE_COMPRESSED = 5,
PERCEIVED_TYPE_DOCUMENT = 6,
PERCEIVED_TYPE_SYSTEM = 7,
PERCEIVED_TYPE_APPLICATION = 8,
PERCEIVED_TYPE_GAMEMEDIA = 9,
PERCEIVED_TYPE_CONTACTS = 10,
PERCEIVED_TYPE_LAST = 10
} PERCEIVED;
Constants
PERCEIVED_TYPE_FIRSTValue: -3 |
PERCEIVED_TYPE_CUSTOMValue: -3 The file's perceived type as defined in the registry is not a known type. |
PERCEIVED_TYPE_UNSPECIFIEDValue: -2 The file does not have a perceived type. |
PERCEIVED_TYPE_FOLDERValue: -1 Not used. |
PERCEIVED_TYPE_UNKNOWNValue: 0 The file's perceived type hasn't yet been requested. This is the cached type of the object when it is created. This value is never returned by AssocGetPerceivedType. |
PERCEIVED_TYPE_TEXTValue: 1 The file's perceived type is "text". |
PERCEIVED_TYPE_IMAGEValue: 2 The file's perceived type is "image". |
PERCEIVED_TYPE_AUDIOValue: 3 The file's perceived type is "audio". |
PERCEIVED_TYPE_VIDEOValue: 4 The file's perceived type is "video". |
PERCEIVED_TYPE_COMPRESSEDValue: 5 The file's perceived type is "compressed". |
PERCEIVED_TYPE_DOCUMENTValue: 6 The file's perceived type is "document". |
PERCEIVED_TYPE_SYSTEMValue: 7 The file's perceived type is "system". |
PERCEIVED_TYPE_APPLICATIONValue: 8 The file's perceived type is "application". |
PERCEIVED_TYPE_GAMEMEDIAValue: 9 Windows Vista and later. The file's perceived type is "gamemedia". |
PERCEIVED_TYPE_CONTACTSValue: 10 Windows Vista and later.The file's perceived type is "contacts" |
PERCEIVED_TYPE_LASTValue: 10 |
Remarks
Prior to Windows Vista, this enumeration was declared in Shlwapi.h.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | shtypes.h |