Export (0) Print
Expand All
Expand Minimize

ASSOCIATIONLEVEL enumeration

Specifies the source of the default association for a file name extension. Used by methods of the IApplicationAssociationRegistration interface.

Syntax


typedef enum ASSOCIATIONLEVEL { 
  AL_MACHINE,
  AL_EFFECTIVE,
  AL_USER
} ASSOCIATIONLEVEL;

Constants

AL_MACHINE

The machine-level default application association.

AL_EFFECTIVE

The effective default for the current user. This value should be used by most applications.

AL_USER

The per-user default application association. If this value is used and no per-user default is declared, the calling method fails with a value of HRESULT_FROM_WIN32(ERROR_NO_ASSOCIATION).

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

HRESULT_FROM_WIN32

 

 

Community Additions

ADD
Show:
© 2014 Microsoft