Add prototypes for IExtractIconW interface.

This commit is contained in:
Rolf Kalbermatter 2002-12-05 19:13:11 +00:00 committed by Alexandre Julliard
parent d344849e4e
commit 90a78f74b0
1 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* IExtractIconA
* IExtractIconA, IExtractIconW
*
* Copyright (C) 1999 Juergen Schmied
*
@ -28,6 +28,7 @@ extern "C" {
#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 @@ ICOM_DEFINE(IExtractIconA,IUnknown)
#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 */