With some apps a fault was possible in ExtractAssociatedIcon.
[wine.git] / include / wine / obj_shellextinit.h
blobb26dcb030e4d3033d05a7b18df2bb77f4770d7be
1 /************************************************************
2 * IShellExtInit
3 */
5 #ifndef __WINE_WINE_OBJ_SHELLEXTINIT_H
6 #define __WINE_WINE_OBJ_SHELLEXTINIT_H
8 #include "shell.h"
9 #include "winbase.h"
10 #include "wingdi.h"
11 #include "winuser.h"
12 #include "wine/obj_base.h"
13 #include "wine/obj_dataobject.h"
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* defined(__cplusplus) */
19 typedef struct IShellExtInit IShellExtInit, *LPSHELLEXTINIT;
20 DEFINE_SHLGUID(IID_IShellExtInit, 0x000214E8L, 0, 0);
22 #define ICOM_INTERFACE IShellExtInit
23 #define IShellExtInit_METHODS \
24 ICOM_METHOD3(HRESULT, Initialize, LPCITEMIDLIST, pidlFolder, LPDATAOBJECT, lpdobj, HKEY, hkeyProgID)
25 #define IShellExtInit_IMETHODS \
26 IUnknown_IMETHODS \
27 IShellExtInit_METHODS
28 ICOM_DEFINE(IShellExtInit,IUnknown)
29 #undef ICOM_INTERFACE
31 /*** IUnknown methods ***/
32 #define IShellExtInit_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
33 #define IShellExtInit_AddRef(p) ICOM_CALL(AddRef,p)
34 #define IShellExtInit_Release(p) ICOM_CALL(Release,p)
35 /*** IShellExtInit methods ***/
36 #define IShellExtInit_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
38 #ifdef __cplusplus
39 } /* extern "C" */
40 #endif /* defined(__cplusplus) */
42 #endif /* __WINE_WINE_OBJ_SHELLEXTINIT_H */