Επεξεργασία

Κοινή χρήση μέσω


ASSOCDATA enumeration (shlwapi.h)

Used by IQueryAssociations::GetData to define the type of data that is to be returned.

Syntax

typedef enum {
  ASSOCDATA_MSIDESCRIPTOR = 1,
  ASSOCDATA_NOACTIVATEHANDLER,
  ASSOCDATA_UNUSED1,
  ASSOCDATA_HASPERUSERASSOC,
  ASSOCDATA_EDITFLAGS,
  ASSOCDATA_VALUE,
  ASSOCDATA_MAX
} ASSOCDATA;

Constants

 
ASSOCDATA_MSIDESCRIPTOR
Value: 1
The component descriptor to pass to the Windows Installer API.
ASSOCDATA_NOACTIVATEHANDLER
Attempts to activate a window are restricted. There is no data associated with this value.
ASSOCDATA_UNUSED1
ASSOCDATA_HASPERUSERASSOC
Defaults to user specified association.
ASSOCDATA_EDITFLAGS
Internet Explorer version 6 or later. Gets the data stored in the EditFlags value of a file association PROGID registry key. This value consists of one or more FILETYPEATTRIBUTEFLAGS. Compare against those values to determine which attributes have been set.
ASSOCDATA_VALUE
Internet Explorer version 6 or later. Uses the pwszExtra parameter from the IQueryAssociations::GetData method as the value name.
ASSOCDATA_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