PERCEIVED Enumeration

Specifies a file's perceived type. This set of constants is used in the AssocGetPerceivedType function.

Syntax

typedef enum tagPERCEIVED {
  PERCEIVED_TYPE_FIRST,
  PERCEIVED_TYPE_CUSTOM,
  PERCEIVED_TYPE_UNSPECIFIED,
  PERCEIVED_TYPE_FOLDER,
  PERCEIVED_TYPE_UNKNOWN,
  PERCEIVED_TYPE_TEXT,
  PERCEIVED_TYPE_IMAGE,
  PERCEIVED_TYPE_AUDIO,
  PERCEIVED_TYPE_VIDEO,
  PERCEIVED_TYPE_COMPRESSED,
  PERCEIVED_TYPE_DOCUMENT,
  PERCEIVED_TYPE_SYSTEM,
  PERCEIVED_TYPE_APPLICATION,
  PERCEIVED_TYPE_GAMEMEDIA,
  PERCEIVED_TYPE_CONTACTS,
  PERCEIVED_TYPE_LAST
} PERCEIVED;

Constants

PERCEIVED_TYPE_FIRST
PERCEIVED_TYPE_CUSTOM The file's perceived type as defined in the registry is not a known type.
PERCEIVED_TYPE_UNSPECIFIED The file does not have a perceived type.
PERCEIVED_TYPE_FOLDER Not used.
PERCEIVED_TYPE_UNKNOWN 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 The file's perceived type is "text".
PERCEIVED_TYPE_IMAGE The file's perceived type is "image".
PERCEIVED_TYPE_AUDIO The file's perceived type is "audio".
PERCEIVED_TYPE_VIDEO The file's perceived type is "video".
PERCEIVED_TYPE_COMPRESSED The file's perceived type is "compressed".
PERCEIVED_TYPE_DOCUMENT The file's perceived type is "document".
PERCEIVED_TYPE_SYSTEM The file's perceived type is "system".
PERCEIVED_TYPE_APPLICATION The file's perceived type is "application".
PERCEIVED_TYPE_GAMEMEDIA Windows Vista and later. The file's perceived type is "gamemedia".
PERCEIVED_TYPE_CONTACTS Windows Vista and later.The file's perceived type is "contacts"
PERCEIVED_TYPE_LAST

Remarks

Prior to Windows Vista, this enumeration was declared in Shlwapi.h.

Requirements

   
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shtypes.h