IExtractIconW interface definitions

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Thu Dec 5 08:55:18 CST 2002


ChangeLog:
 * include/wine/obje_extracticon.h
   - Add prototypes for IExtractIconW interface

Rolf Kalbermatter


Index: include/wine/obj_extracticon.h
===================================================================
RCS file: /home/wine/wine/include/wine/obj_extracticon.h,v
retrieving revision 1.9
diff -u -r1.9 obj_extracticon.h
--- include/wine/obj_extracticon.h	10 Mar 2002 00:02:38 -0000	1.9
+++ include/wine/obj_extracticon.h	5 Dec 2002 14:49:48 -0000
@@ -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 */
-




More information about the wine-patches mailing list