Add prototypes for IExtractIconW interface.
diff --git a/include/wine/obj_extracticon.h b/include/wine/obj_extracticon.h
index a0de77e..ec9bf67 100644
--- a/include/wine/obj_extracticon.h
+++ b/include/wine/obj_extracticon.h
@@ -1,5 +1,5 @@
/*
- * IExtractIconA
+ * IExtractIconA, IExtractIconW
*
* Copyright (C) 1999 Juergen Schmied
*
@@ -28,6 +28,7 @@
#define IID_IExtractIcon WINELIB_NAME_AW(IID_IExtractIcon)
typedef struct IExtractIconA IExtractIconA,*LPEXTRACTICONA;
+typedef struct IExtractIconW IExtractIconW,*LPEXTRACTICONW;
#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)
/* GetIconLocation() input flags*/
@@ -59,9 +60,25 @@
#define IExtractIconA_GetIconLocation(p,a,b,c,d,e) ICOM_CALL5(GetIconLocation,p,a,b,c,d,e)
#define IExtractIconA_Extract(p,a,b,c,d,e) ICOM_CALL5(Extract,p,a,b,c,d,e)
+
+#define ICOM_INTERFACE IExtractIconW
+#define IExtractIconW_METHODS \
+ ICOM_METHOD5(HRESULT, GetIconLocation, UINT, uFlags, LPWSTR, szIconFile, UINT, cchMax, INT*, piIndex, UINT *, pwFlags) \
+ ICOM_METHOD5(HRESULT, Extract, LPCWSTR, pszFile, UINT, nIconIndex, HICON*, phiconLarge, HICON*, phiconSmall, UINT, nIconSize)
+#define IExtractIconW_IMETHODS \
+ IUnknown_IMETHODS \
+ IExtractIconW_METHODS
+ICOM_DEFINE(IExtractIconW,IUnknown)
+#undef ICOM_INTERFACE
+
+#define IExtractIconW_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
+#define IExtractIconW_AddRef(p) ICOM_CALL(AddRef,p)
+#define IExtractIconW_Release(p) ICOM_CALL(Release,p)
+#define IExtractIconW_GetIconLocation(p,a,b,c,d,e) ICOM_CALL5(GetIconLocation,p,a,b,c,d,e)
+#define IExtractIconW_Extract(p,a,b,c,d,e) ICOM_CALL5(Extract,p,a,b,c,d,e)
+
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_EXTRACTICON_H */
-