ASSOCKEY enumeration (shlwapi.h)

Specifies the type of key to be returned by IQueryAssociations::GetKey.

Syntax

typedef enum {
  ASSOCKEY_SHELLEXECCLASS = 1,
  ASSOCKEY_APP,
  ASSOCKEY_CLASS,
  ASSOCKEY_BASECLASS,
  ASSOCKEY_MAX
} ASSOCKEY;

Constants

 
ASSOCKEY_SHELLEXECCLASS
Value: 1
A key that is passed to ShellExecuteEx through a SHELLEXECUTEINFO structure.
ASSOCKEY_APP
An Application key for the file type.
ASSOCKEY_CLASS
A ProgID or class key.
ASSOCKEY_BASECLASS
A BaseClass value.
ASSOCKEY_MAX

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shlwapi.h