Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Spécifie le type perçu d’un fichier. Cet ensemble de constantes est utilisé dans la fonction AssocGetPerceivedType .
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;
Constantes
PERCEIVED_TYPE_FIRSTValeur : -3 |
PERCEIVED_TYPE_CUSTOMValeur : -3 Le type perçu du fichier tel que défini dans le Registre n’est pas un type connu. |
PERCEIVED_TYPE_UNSPECIFIEDValeur : -2 Le fichier n’a pas de type perçu. |
PERCEIVED_TYPE_FOLDERValeur : -1 Non utilisé. |
PERCEIVED_TYPE_UNKNOWNValeur : 0 Le type perçu du fichier n’a pas encore été demandé. Il s’agit du type mis en cache de l’objet lors de sa création. Cette valeur n’est jamais retournée par AssocGetPerceivedType. |
PERCEIVED_TYPE_TEXTValeur : 1 Le type perçu du fichier est « text ». |
PERCEIVED_TYPE_IMAGEValeur : 2 Le type perçu du fichier est « image ». |
PERCEIVED_TYPE_AUDIOValeur : 3 Le type perçu du fichier est « audio ». |
PERCEIVED_TYPE_VIDEOValeur : 4 Le type perçu du fichier est « video ». |
PERCEIVED_TYPE_COMPRESSEDValeur : 5 Le type perçu du fichier est « compressé ». |
PERCEIVED_TYPE_DOCUMENTValeur : 6 Le type perçu du fichier est « document ». |
PERCEIVED_TYPE_SYSTEMValeur : 7 Le type perçu du fichier est « system ». |
PERCEIVED_TYPE_APPLICATIONValeur : 8 Le type perçu du fichier est « application ». |
PERCEIVED_TYPE_GAMEMEDIAValeur : 9 Windows Vista et versions ultérieures. Le type perçu du fichier est « gamemedia ». |
PERCEIVED_TYPE_CONTACTSValeur : 10 Windows Vista et versions ultérieures. Le type perçu du fichier est « contacts » |
PERCEIVED_TYPE_LASTValeur : 10 |
Remarques
Avant Windows Vista, cette énumération était déclarée dans Shlwapi.h.
Configuration requise
| Condition requise | Valeur |
|---|---|
| Client minimal pris en charge | Windows XP avec SP2 [applications de bureau uniquement] |
| Serveur minimal pris en charge | Windows Server 2003 [applications de bureau uniquement] |
| En-tête | shtypes.h |