Expand Minimize
1 out of 1 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.