1 /************************************************************
5 #ifndef __WINE_WINE_OBJ_QUERYASSOCIATIONS_H
6 #define __WINE_WINE_OBJ_QUERYASSOCIATIONS_H
10 #endif /* defined(__cplusplus) */
12 DEFINE_GUID(IID_IQueryAssociations, 0xc46ca590, 0x3c3f, 0x11d2, 0xbe, 0xe6, 0x00, 0x00, 0xf8, 0x05, 0xca, 0x57);
14 typedef struct IQueryAssociations IQueryAssociations,*LPQUERYASSOCIATIONS;
16 #define ASSOCF_INIT_BYEXENAME 0x00000002
17 #define ASSOCF_OPEN_BYEXENAME 0x00000002
18 #define ASSOCF_INIT_DEFAULTTOSTAR 0x00000004
19 #define ASSOCF_INIT_DEFAULTTOFOLDER 0x00000008
20 #define ASSOCF_NOUSERSETTINGS 0x00000010
21 #define ASSOCF_NOTRUNCATE 0x00000020
22 #define ASSOCF_VERIFY 0x00000040
23 #define ASSOCF_REMAPRUNDLL 0x00000080
24 #define ASSOCF_NOFIXUPS 0x00000100
25 #define ASSOCF_IGNOREBASECLASS 0x00000200
33 ASSOCSTR_FRIENDLYDOCNAME,
34 ASSOCSTR_FRIENDLYAPPNAME,
36 ASSOCSTR_SHELLNEWVALUE,
39 ASSOCSTR_DDEAPPLICATION,
46 ASSOCKEY_SHELLEXECCLASS = 1,
55 ASSOCDATA_MSIDESCRIPTOR = 1,
56 ASSOCDATA_NOACTIVATEHANDLER,
57 ASSOCDATA_QUERYCLASSSTORE,
58 ASSOCDATA_HASPERUSERASSOC,
67 #define ICOM_INTERFACE IQueryAssociations
68 #define IQueryAssociations_METHODS \
69 ICOM_METHOD4 (HRESULT, Init, ASSOCF, flags, LPCWSTR, pszAssoc, HKEY, hkProgid, HWND, hwnd) \
70 ICOM_METHOD5 (HRESULT, GetString, ASSOCF, flags, ASSOCSTR, str, LPCWSTR, pszExtra, LPWSTR, pszOut, DWORD*, pcchOut) \
71 ICOM_METHOD4 (HRESULT, GetKey, ASSOCF, flags, ASSOCKEY, key, LPCWSTR, pszExtra, HKEY*, phkeyOut) \
72 ICOM_METHOD5 (HRESULT, GetData, ASSOCF, flags, ASSOCDATA, data, LPCWSTR, pszExtra, LPVOID, pvOut, DWORD*, pcbOut) \
73 ICOM_METHOD5 (HRESULT, GetEnum, ASSOCF, flags, ASSOCENUM, assocenum, LPCWSTR, pszExtra, REFIID, riid, LPVOID*, ppvOut)
74 #define IQueryAssociations_IMETHODS \
76 IQueryAssociations_METHODS
77 ICOM_DEFINE(IQueryAssociations,IUnknown)
80 #define IQueryAssociations_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
81 #define IQueryAssociations_AddRef(p) ICOM_CALL(AddRef,p)
82 #define IQueryAssociations_Release(p) ICOM_CALL(Release,p)
83 #define IQueryAssociations_Init(p,a,b,c,d) ICOM_CALL4(Init,p,a,b,c,d)
84 #define IQueryAssociations_GetString(p,a,b,c,d,e) ICOM_CALL5(GetString,p,a,b,c,d,e)
85 #define IQueryAssociations_GetKey(p,a,b,c,d) ICOM_CALL4(GetKey,p,a,b,c,d)
86 #define IQueryAssociations_GetData(p,a,b,c,d,e) ICOM_CALL5(GetData,p,a,b,c,d,e)
87 #define IQueryAssociations_GetEnum(p,a,b,c,d,e) ICOM_CALL5(GetEnum,p,a,b,c,d,e)
91 #endif /* defined(__cplusplus) */
93 #endif /* __WINE_WINE_OBJ_QUERYASSOCIATIONS_H */