Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

PERCEIVED enumeration

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

Syntax


typedef enum  { 
  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;

Constants

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"

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

IDL

Shtypes.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft