Ignore:
Timestamp:
Aug 18, 2000, 4:04:23 AM (25 years ago)
Author:
phaller
Message:

Shell32 update to WINE

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 sandervl Exp $ */
     1/* $Id: obj_shelllink.h,v 1.6 2000-08-18 02:04:23 phaller Exp $ */
    22/*
    33 * Defines the COM interfaces and APIs related to IShellLink.
     
    2020 * Predeclare the interfaces
    2121 */
    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);
     22typedef struct IShellLinkA IShellLinkA,*LPSHELLLINK;
    2723typedef struct IShellLinkW IShellLinkW,*LPSHELLLINKW;
    2824
     
    4642 * IShellLink interface
    4743 */
    48 #define ICOM_INTERFACE IShellLink
    49 #define IShellLink_METHODS \
     44#define ICOM_INTERFACE IShellLinkA
     45#define IShellLinkA_METHODS \
    5046    ICOM_METHOD4( HRESULT, GetPath, LPSTR, pszFile, INT, cchMaxPath, WIN32_FIND_DATAA *, pfd, DWORD, fFlags) \
    5147    ICOM_METHOD1( HRESULT, GetIDList, LPITEMIDLIST *, ppidl) \
     
    6662    ICOM_METHOD2( HRESULT, Resolve, HWND, hwnd, DWORD, fFlags) \
    6763    ICOM_METHOD1( HRESULT, SetPath, LPCSTR, pszFile)
    68 #define IShellLink_IMETHODS \
     64#define IShellLinkA_IMETHODS \
    6965    IUnknown_IMETHODS \
    70     IShellLink_METHODS
    71 ICOM_DEFINE(IShellLink,IUnknown)
     66    IShellLinkA_METHODS
     67ICOM_DEFINE(IShellLinkA,IUnknown)
    7268#undef ICOM_INTERFACE
    7369
    7470#ifdef ICOM_CINTERFACE
    7571/*** 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)
    7975/*** 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)
    9894#endif
    9995
Note: See TracChangeset for help on using the changeset viewer.