PERCEIVED 枚举 (shtypes.h)
指定文件的感知类型。 这组常量用于 AssocGetPerceivedType 函数。
语法
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;
常量
PERCEIVED_TYPE_FIRST 值: -3 |
PERCEIVED_TYPE_CUSTOM 值: -3 注册表中定义的文件的感知类型不是已知类型。 |
PERCEIVED_TYPE_UNSPECIFIED 值: -2 该文件没有感知的类型。 |
PERCEIVED_TYPE_FOLDER 值: -1 未使用。 |
PERCEIVED_TYPE_UNKNOWN 值: 0 尚未请求文件的感知类型。 这是创建对象时的缓存类型。 该值永远不会由 AssocGetPerceivedType 返回。 |
PERCEIVED_TYPE_TEXT 值:1 该文件的感知类型为“text”。 |
PERCEIVED_TYPE_IMAGE 值: 2 文件的感知类型为“图像”。 |
PERCEIVED_TYPE_AUDIO 值: 3 文件的感知类型为“audio”。 |
PERCEIVED_TYPE_VIDEO 值: 4 文件的感知类型为“视频”。 |
PERCEIVED_TYPE_COMPRESSED 值: 5 文件的感知类型是“压缩的”。 |
PERCEIVED_TYPE_DOCUMENT 值: 6 文件的感知类型为“document”。 |
PERCEIVED_TYPE_SYSTEM 值: 7 该文件的感知类型为“system”。 |
PERCEIVED_TYPE_APPLICATION 值: 8 该文件的感知类型为“application”。 |
PERCEIVED_TYPE_GAMEMEDIA 值: 9 Windows Vista 及更高版本。 该文件的感知类型为“gamemedia”。 |
PERCEIVED_TYPE_CONTACTS 值: 10 Windows Vista 及更高版本。文件的感知类型为“contacts” |
PERCEIVED_TYPE_LAST 值: 10 |
注解
在 Windows Vista 之前,此枚举在 Shlwapi.h 中声明。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows XP SP2 [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2003 [仅限桌面应用] |
标头 | shtypes.h |