Changeset 4033 for trunk/include/win/wine/obj_shelllink.h
- Timestamp:
- Aug 18, 2000, 4:04:23 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/obj_shelllink.h
r641 r4033 1 /* $Id: obj_shelllink.h,v 1. 5 1999-08-22 22:52:10 sandervlExp $ */1 /* $Id: obj_shelllink.h,v 1.6 2000-08-18 02:04:23 phaller Exp $ */ 2 2 /* 3 3 * Defines the COM interfaces and APIs related to IShellLink. … … 20 20 * Predeclare the interfaces 21 21 */ 22 DEFINE_SHLGUID(IID_IShellLink, 0x000214EEL, 0, 0); 23 typedef struct IShellLink IShellLink,*LPSHELLLINK; 24 #define IShellLinkA IShellLink 25 26 DEFINE_SHLGUID(IID_IShellLinkW, 0x000214F9L, 0, 0); 22 typedef struct IShellLinkA IShellLinkA,*LPSHELLLINK; 27 23 typedef struct IShellLinkW IShellLinkW,*LPSHELLLINKW; 28 24 … … 46 42 * IShellLink interface 47 43 */ 48 #define ICOM_INTERFACE IShellLink 49 #define IShellLink _METHODS \44 #define ICOM_INTERFACE IShellLinkA 45 #define IShellLinkA_METHODS \ 50 46 ICOM_METHOD4( HRESULT, GetPath, LPSTR, pszFile, INT, cchMaxPath, WIN32_FIND_DATAA *, pfd, DWORD, fFlags) \ 51 47 ICOM_METHOD1( HRESULT, GetIDList, LPITEMIDLIST *, ppidl) \ … … 66 62 ICOM_METHOD2( HRESULT, Resolve, HWND, hwnd, DWORD, fFlags) \ 67 63 ICOM_METHOD1( HRESULT, SetPath, LPCSTR, pszFile) 68 #define IShellLink _IMETHODS \64 #define IShellLinkA_IMETHODS \ 69 65 IUnknown_IMETHODS \ 70 IShellLink _METHODS71 ICOM_DEFINE(IShellLink ,IUnknown)66 IShellLinkA_METHODS 67 ICOM_DEFINE(IShellLinkA,IUnknown) 72 68 #undef ICOM_INTERFACE 73 69 74 70 #ifdef ICOM_CINTERFACE 75 71 /*** IUnknown methods ***/ 76 #define IShellLink _QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)77 #define IShellLink _AddRef(p) ICOM_CALL (AddRef,p)78 #define IShellLink _Release(p) ICOM_CALL (Release,p)72 #define IShellLinkA_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) 73 #define IShellLinkA_AddRef(p) ICOM_CALL (AddRef,p) 74 #define IShellLinkA_Release(p) ICOM_CALL (Release,p) 79 75 /*** IShellLink methods ***/ 80 #define IShellLink _GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d)81 #define IShellLink _GetIDList(p,a) ICOM_CALL1(GetIDList,p,a)82 #define IShellLink _SetIDList(p,a) ICOM_CALL1(SetIDList,p,a)83 #define IShellLink _GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b)84 #define IShellLink _SetDescription(p,a) ICOM_CALL1(SetDescription,p,a)85 #define IShellLink _GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b)86 #define IShellLink _SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a)87 #define IShellLink _GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b)88 #define IShellLink _SetArguments(p,a) ICOM_CALL1(SetArguments,p,a)89 #define IShellLink _GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a)90 #define IShellLink _SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a)91 #define IShellLink _GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a)92 #define IShellLink _SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a)93 #define IShellLink _GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c)94 #define IShellLink _SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b)95 #define IShellLink _SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b)96 #define IShellLink _Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b)97 #define IShellLink _SetPath(p,a) ICOM_CALL1(SetPath,p,a)76 #define IShellLinkA_GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d) 77 #define IShellLinkA_GetIDList(p,a) ICOM_CALL1(GetIDList,p,a) 78 #define IShellLinkA_SetIDList(p,a) ICOM_CALL1(SetIDList,p,a) 79 #define IShellLinkA_GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b) 80 #define IShellLinkA_SetDescription(p,a) ICOM_CALL1(SetDescription,p,a) 81 #define IShellLinkA_GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b) 82 #define IShellLinkA_SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a) 83 #define IShellLinkA_GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b) 84 #define IShellLinkA_SetArguments(p,a) ICOM_CALL1(SetArguments,p,a) 85 #define IShellLinkA_GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a) 86 #define IShellLinkA_SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a) 87 #define IShellLinkA_GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a) 88 #define IShellLinkA_SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a) 89 #define IShellLinkA_GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c) 90 #define IShellLinkA_SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b) 91 #define IShellLinkA_SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b) 92 #define IShellLinkA_Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b) 93 #define IShellLinkA_SetPath(p,a) ICOM_CALL1(SetPath,p,a) 98 94 #endif 99 95
Note:
See TracChangeset
for help on using the changeset viewer.