ASSOCIATIONTYPE enumeration

Specifies the type of association for an application. Used by methods of the IApplicationAssociationRegistration interface.

Syntax

typedef enum ASSOCIATIONTYPE {
  AT_FILEEXTENSION,
  AT_URLPROTOCOL,
  AT_STARTMENUCLIENT,
  AT_MIMETYPE
} ;

Constants

AT_FILEEXTENSION Indicates a file name extension, such as .htm or .mp3.
AT_URLPROTOCOL Indicates a protocol, such as http or mailto.
AT_STARTMENUCLIENT Indicates the owner of the startmenu client for a mail or Internet hyperlink. As of Windows 7, this value is used only for the MAPI sendmail client.
AT_MIMETYPE Indicates the MIME type, such as audio/mp3.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)