Geoff Chappell - Software Analyst
The original IAssociationElement methods are (as ordered in the virtual function table after the IUnknown methods):
HRESULT QueryString (ASSOCQUERY, PCWSTR, PWSTR *);
HRESULT QueryDword (ASSOCQUERY, PCWSTR, DWORD *);
HRESULT QueryExists (ASSOCQUERY, PCWSTR);
HRESULT QueryDirect (ASSOCQUERY, PCWSTR, FLAGGED_BYTE_BLOB **);
HRESULT QueryObject (ASSOCQUERY, PCWSTR, REFIID, PVOID *);
in which ASSOCQUERY is invented as a typedef for an undocumented enumeration:
typedef enum tagASSOCQUERY ASSOCQUERY;
The revision inserts a method:
The new method has the prototype:
HRESULT QueryGuid (ASSOCQUERY, PCWSTR, GUID *);
The IAssociationElement interface is implemented in SHLWAPI.DLL version 6.00 from before Windows Vista, and in SHELL32.DLL version 6.00 from Windows Vista, and higher.
Though this interface dates from 2001, it was still not documented by Microsoft as late as the January 2007 edition of the Windows Vista Software Development Kit (SDK).