PERCEIVED enumeration (shtypes.h)
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_FIRST Value: -3 |
PERCEIVED_TYPE_CUSTOM Value: -3 The file's perceived type as defined in the registry is not a known type. |
PERCEIVED_TYPE_UNSPECIFIED Value: -2 The file does not have a perceived type. |
PERCEIVED_TYPE_FOLDER Value: -1 Not used. |
PERCEIVED_TYPE_UNKNOWN Value: 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_TEXT Value: 1 The file's perceived type is "text". |
PERCEIVED_TYPE_IMAGE Value: 2 The file's perceived type is "image". |
PERCEIVED_TYPE_AUDIO Value: 3 The file's perceived type is "audio". |
PERCEIVED_TYPE_VIDEO Value: 4 The file's perceived type is "video". |
PERCEIVED_TYPE_COMPRESSED Value: 5 The file's perceived type is "compressed". |
PERCEIVED_TYPE_DOCUMENT Value: 6 The file's perceived type is "document". |
PERCEIVED_TYPE_SYSTEM Value: 7 The file's perceived type is "system". |
PERCEIVED_TYPE_APPLICATION Value: 8 The file's perceived type is "application". |
PERCEIVED_TYPE_GAMEMEDIA Value: 9 Windows Vista and later. The file's perceived type is "gamemedia". |
PERCEIVED_TYPE_CONTACTS Value: 10 Windows Vista and later.The file's perceived type is "contacts" |
PERCEIVED_TYPE_LAST Value: 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 |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για