Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
08aad6ac
Commit
08aad6ac
authored
Aug 03, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed IShellLinkA/W definitions.
parent
b08cb175
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
92 deletions
+88
-92
shelllink.c
dlls/shell32/shelllink.c
+61
-61
obj_shelllink.h
include/wine/obj_shelllink.h
+27
-31
No files found.
dlls/shell32/shelllink.c
View file @
08aad6ac
...
...
@@ -20,7 +20,7 @@
#include "shell32_main.h"
#include "shlguid.h"
DEFAULT_DEBUG_CHANNEL
(
shell
)
DEFAULT_DEBUG_CHANNEL
(
shell
)
;
/* link file formats */
...
...
@@ -59,7 +59,7 @@ typedef struct _LINK_HEADER
#include "poppack.h"
static
ICOM_VTABLE
(
IShellLink
)
slvt
;
static
ICOM_VTABLE
(
IShellLink
A
)
slvt
;
static
ICOM_VTABLE
(
IShellLinkW
)
slvtw
;
static
ICOM_VTABLE
(
IPersistFile
)
pfvt
;
static
ICOM_VTABLE
(
IPersistStream
)
psvt
;
...
...
@@ -68,7 +68,7 @@ static ICOM_VTABLE(IPersistStream) psvt;
typedef
struct
{
ICOM_VFIELD
(
IShellLink
);
ICOM_VFIELD
(
IShellLink
A
);
DWORD
ref
;
ICOM_VTABLE
(
IShellLinkW
)
*
lpvtblw
;
...
...
@@ -110,7 +110,7 @@ static HRESULT WINAPI IPersistFile_fnQueryInterface(
TRACE
(
"(%p)
\n
"
,
This
);
return
IShellLink
_QueryInterface
((
IShellLink
*
)
This
,
riid
,
ppvObj
);
return
IShellLink
A_QueryInterface
((
IShellLinkA
*
)
This
,
riid
,
ppvObj
);
}
/******************************************************************************
...
...
@@ -122,7 +122,7 @@ static ULONG WINAPI IPersistFile_fnAddRef(IPersistFile* iface)
TRACE
(
"(%p)->(count=%lu)
\n
"
,
This
,
This
->
ref
);
return
IShellLink
_AddRef
((
IShellLink
*
)
This
);
return
IShellLink
A_AddRef
((
IShellLinkA
*
)
This
);
}
/******************************************************************************
* IPersistFile_Release
...
...
@@ -133,7 +133,7 @@ static ULONG WINAPI IPersistFile_fnRelease(IPersistFile* iface)
TRACE
(
"(%p)->(count=%lu)
\n
"
,
This
,
This
->
ref
);
return
IShellLink
_Release
((
IShellLink
*
)
This
);
return
IShellLink
A_Release
((
IShellLinkA
*
)
This
);
}
static
HRESULT
WINAPI
IPersistFile_fnGetClassID
(
IPersistFile
*
iface
,
CLSID
*
pClassID
)
...
...
@@ -218,7 +218,7 @@ static HRESULT WINAPI IPersistStream_fnQueryInterface(
TRACE
(
"(%p)
\n
"
,
This
);
return
IShellLink
_QueryInterface
((
IShellLink
*
)
This
,
riid
,
ppvoid
);
return
IShellLink
A_QueryInterface
((
IShellLinkA
*
)
This
,
riid
,
ppvoid
);
}
/************************************************************************
...
...
@@ -231,7 +231,7 @@ static ULONG WINAPI IPersistStream_fnRelease(
TRACE
(
"(%p)
\n
"
,
This
);
return
IShellLink
_Release
((
IShellLink
*
)
This
);
return
IShellLink
A_Release
((
IShellLinkA
*
)
This
);
}
/************************************************************************
...
...
@@ -244,7 +244,7 @@ static ULONG WINAPI IPersistStream_fnAddRef(
TRACE
(
"(%p)
\n
"
,
This
);
return
IShellLink
_AddRef
((
IShellLink
*
)
This
);
return
IShellLink
A_AddRef
((
IShellLinkA
*
)
This
);
}
/************************************************************************
...
...
@@ -398,7 +398,7 @@ static ICOM_VTABLE(IPersistStream) psvt =
/**************************************************************************
* IShellLink_Constructor
*/
IShellLink
*
IShellLink_Constructor
(
BOOL
bUnicode
)
IShellLink
A
*
IShellLink_Constructor
(
BOOL
bUnicode
)
{
IShellLinkImpl
*
sl
;
sl
=
(
IShellLinkImpl
*
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IShellLinkImpl
));
...
...
@@ -410,13 +410,13 @@ IShellLink * IShellLink_Constructor(BOOL bUnicode)
TRACE
(
"(%p)->()
\n
"
,
sl
);
shell32_ObjCount
++
;
return
bUnicode
?
(
IShellLink
*
)
&
(
sl
->
lpvtblw
)
:
(
IShellLink
*
)
sl
;
return
bUnicode
?
(
IShellLink
A
*
)
&
(
sl
->
lpvtblw
)
:
(
IShellLinkA
*
)
sl
;
}
/**************************************************************************
* IShellLink_QueryInterface
* IShellLink
A
_QueryInterface
*/
static
HRESULT
WINAPI
IShellLink
_fnQueryInterface
(
IShellLink
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IShellLink
A_fnQueryInterface
(
IShellLinkA
*
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -425,7 +425,7 @@ static HRESULT WINAPI IShellLink_fnQueryInterface( IShellLink * iface, REFIID ri
*
ppvObj
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IShellLink
))
IsEqualIID
(
riid
,
&
IID_IShellLink
A
))
{
*
ppvObj
=
This
;
}
...
...
@@ -452,9 +452,9 @@ static HRESULT WINAPI IShellLink_fnQueryInterface( IShellLink * iface, REFIID ri
return
E_NOINTERFACE
;
}
/******************************************************************************
* IShellLink_AddRef
* IShellLink
A
_AddRef
*/
static
ULONG
WINAPI
IShellLink
_fnAddRef
(
IShellLink
*
iface
)
static
ULONG
WINAPI
IShellLink
A_fnAddRef
(
IShellLinkA
*
iface
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -464,9 +464,9 @@ static ULONG WINAPI IShellLink_fnAddRef(IShellLink * iface)
return
++
(
This
->
ref
);
}
/******************************************************************************
* IShellLink_Release
* IShellLink
A
_Release
*/
static
ULONG
WINAPI
IShellLink
_fnRelease
(
IShellLink
*
iface
)
static
ULONG
WINAPI
IShellLink
A_fnRelease
(
IShellLinkA
*
iface
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -491,7 +491,7 @@ static ULONG WINAPI IShellLink_fnRelease(IShellLink * iface)
return
This
->
ref
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetPath
(
IShellLink
*
iface
,
LPSTR
pszFile
,
INT
cchMaxPath
,
WIN32_FIND_DATAA
*
pfd
,
DWORD
fFlags
)
static
HRESULT
WINAPI
IShellLink
A_fnGetPath
(
IShellLinkA
*
iface
,
LPSTR
pszFile
,
INT
cchMaxPath
,
WIN32_FIND_DATAA
*
pfd
,
DWORD
fFlags
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -504,7 +504,7 @@ static HRESULT WINAPI IShellLink_fnGetPath(IShellLink * iface, LPSTR pszFile,INT
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetIDList
(
IShellLink
*
iface
,
LPITEMIDLIST
*
ppidl
)
static
HRESULT
WINAPI
IShellLink
A_fnGetIDList
(
IShellLinkA
*
iface
,
LPITEMIDLIST
*
ppidl
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -513,7 +513,7 @@ static HRESULT WINAPI IShellLink_fnGetIDList(IShellLink * iface, LPITEMIDLIST *
*
ppidl
=
ILClone
(
This
->
pPidl
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetIDList
(
IShellLink
*
iface
,
LPCITEMIDLIST
pidl
)
static
HRESULT
WINAPI
IShellLink
A_fnSetIDList
(
IShellLinkA
*
iface
,
LPCITEMIDLIST
pidl
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -524,7 +524,7 @@ static HRESULT WINAPI IShellLink_fnSetIDList(IShellLink * iface, LPCITEMIDLIST p
This
->
pPidl
=
ILClone
(
pidl
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetDescription
(
IShellLink
*
iface
,
LPSTR
pszName
,
INT
cchMaxName
)
static
HRESULT
WINAPI
IShellLink
A_fnGetDescription
(
IShellLinkA
*
iface
,
LPSTR
pszName
,
INT
cchMaxName
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -532,14 +532,14 @@ static HRESULT WINAPI IShellLink_fnGetDescription(IShellLink * iface, LPSTR pszN
lstrcpynA
(
pszName
,
"Description, FIXME"
,
cchMaxName
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetDescription
(
IShellLink
*
iface
,
LPCSTR
pszName
)
static
HRESULT
WINAPI
IShellLink
A_fnSetDescription
(
IShellLinkA
*
iface
,
LPCSTR
pszName
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(desc=%s)
\n
"
,
This
,
pszName
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetWorkingDirectory
(
IShellLink
*
iface
,
LPSTR
pszDir
,
INT
cchMaxPath
)
static
HRESULT
WINAPI
IShellLink
A_fnGetWorkingDirectory
(
IShellLinkA
*
iface
,
LPSTR
pszDir
,
INT
cchMaxPath
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -547,14 +547,14 @@ static HRESULT WINAPI IShellLink_fnGetWorkingDirectory(IShellLink * iface, LPSTR
lstrcpynA
(
pszDir
,
"c:
\\
"
,
cchMaxPath
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetWorkingDirectory
(
IShellLink
*
iface
,
LPCSTR
pszDir
)
static
HRESULT
WINAPI
IShellLink
A_fnSetWorkingDirectory
(
IShellLinkA
*
iface
,
LPCSTR
pszDir
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(dir=%s)
\n
"
,
This
,
pszDir
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetArguments
(
IShellLink
*
iface
,
LPSTR
pszArgs
,
INT
cchMaxPath
)
static
HRESULT
WINAPI
IShellLink
A_fnGetArguments
(
IShellLinkA
*
iface
,
LPSTR
pszArgs
,
INT
cchMaxPath
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -562,7 +562,7 @@ static HRESULT WINAPI IShellLink_fnGetArguments(IShellLink * iface, LPSTR pszArg
lstrcpynA
(
pszArgs
,
""
,
cchMaxPath
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetArguments
(
IShellLink
*
iface
,
LPCSTR
pszArgs
)
static
HRESULT
WINAPI
IShellLink
A_fnSetArguments
(
IShellLinkA
*
iface
,
LPCSTR
pszArgs
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -570,7 +570,7 @@ static HRESULT WINAPI IShellLink_fnSetArguments(IShellLink * iface, LPCSTR pszAr
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetHotkey
(
IShellLink
*
iface
,
WORD
*
pwHotkey
)
static
HRESULT
WINAPI
IShellLink
A_fnGetHotkey
(
IShellLinkA
*
iface
,
WORD
*
pwHotkey
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -580,7 +580,7 @@ static HRESULT WINAPI IShellLink_fnGetHotkey(IShellLink * iface, WORD *pwHotkey)
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetHotkey
(
IShellLink
*
iface
,
WORD
wHotkey
)
static
HRESULT
WINAPI
IShellLink
A_fnSetHotkey
(
IShellLinkA
*
iface
,
WORD
wHotkey
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -590,7 +590,7 @@ static HRESULT WINAPI IShellLink_fnSetHotkey(IShellLink * iface, WORD wHotkey)
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetShowCmd
(
IShellLink
*
iface
,
INT
*
piShowCmd
)
static
HRESULT
WINAPI
IShellLink
A_fnGetShowCmd
(
IShellLinkA
*
iface
,
INT
*
piShowCmd
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -598,14 +598,14 @@ static HRESULT WINAPI IShellLink_fnGetShowCmd(IShellLink * iface, INT *piShowCmd
*
piShowCmd
=
0
;
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetShowCmd
(
IShellLink
*
iface
,
INT
iShowCmd
)
static
HRESULT
WINAPI
IShellLink
A_fnSetShowCmd
(
IShellLinkA
*
iface
,
INT
iShowCmd
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(showcmd=%x)
\n
"
,
This
,
iShowCmd
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnGetIconLocation
(
IShellLink
*
iface
,
LPSTR
pszIconPath
,
INT
cchIconPath
,
INT
*
piIcon
)
static
HRESULT
WINAPI
IShellLink
A_fnGetIconLocation
(
IShellLinkA
*
iface
,
LPSTR
pszIconPath
,
INT
cchIconPath
,
INT
*
piIcon
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -614,28 +614,28 @@ static HRESULT WINAPI IShellLink_fnGetIconLocation(IShellLink * iface, LPSTR psz
*
piIcon
=
1
;
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetIconLocation
(
IShellLink
*
iface
,
LPCSTR
pszIconPath
,
INT
iIcon
)
static
HRESULT
WINAPI
IShellLink
A_fnSetIconLocation
(
IShellLinkA
*
iface
,
LPCSTR
pszIconPath
,
INT
iIcon
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(path=%s iicon=%u)
\n
"
,
This
,
pszIconPath
,
iIcon
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetRelativePath
(
IShellLink
*
iface
,
LPCSTR
pszPathRel
,
DWORD
dwReserved
)
static
HRESULT
WINAPI
IShellLink
A_fnSetRelativePath
(
IShellLinkA
*
iface
,
LPCSTR
pszPathRel
,
DWORD
dwReserved
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(path=%s %lx)
\n
"
,
This
,
pszPathRel
,
dwReserved
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnResolve
(
IShellLink
*
iface
,
HWND
hwnd
,
DWORD
fFlags
)
static
HRESULT
WINAPI
IShellLink
A_fnResolve
(
IShellLinkA
*
iface
,
HWND
hwnd
,
DWORD
fFlags
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
"(%p)->(hwnd=%x flags=%lx)
\n
"
,
This
,
hwnd
,
fFlags
);
return
NOERROR
;
}
static
HRESULT
WINAPI
IShellLink
_fnSetPath
(
IShellLink
*
iface
,
LPCSTR
pszFile
)
static
HRESULT
WINAPI
IShellLink
A_fnSetPath
(
IShellLinkA
*
iface
,
LPCSTR
pszFile
)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
...
...
@@ -647,30 +647,30 @@ static HRESULT WINAPI IShellLink_fnSetPath(IShellLink * iface, LPCSTR pszFile)
* IShellLink Implementation
*/
static
ICOM_VTABLE
(
IShellLink
)
slvt
=
static
ICOM_VTABLE
(
IShellLink
A
)
slvt
=
{
ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
IShellLink_fnQueryInterface
,
IShellLink_fnAddRef
,
IShellLink_fnRelease
,
IShellLink_fnGetPath
,
IShellLink_fnGetIDList
,
IShellLink_fnSetIDList
,
IShellLink_fnGetDescription
,
IShellLink_fnSetDescription
,
IShellLink_fnGetWorkingDirectory
,
IShellLink_fnSetWorkingDirectory
,
IShellLink_fnGetArguments
,
IShellLink_fnSetArguments
,
IShellLink_fnGetHotkey
,
IShellLink_fnSetHotkey
,
IShellLink_fnGetShowCmd
,
IShellLink_fnSetShowCmd
,
IShellLink_fnGetIconLocation
,
IShellLink_fnSetIconLocation
,
IShellLink_fnSetRelativePath
,
IShellLink_fnResolve
,
IShellLink_fnSetPath
IShellLink
A
_fnQueryInterface
,
IShellLink
A
_fnAddRef
,
IShellLink
A
_fnRelease
,
IShellLink
A
_fnGetPath
,
IShellLink
A
_fnGetIDList
,
IShellLink
A
_fnSetIDList
,
IShellLink
A
_fnGetDescription
,
IShellLink
A
_fnSetDescription
,
IShellLink
A
_fnGetWorkingDirectory
,
IShellLink
A
_fnSetWorkingDirectory
,
IShellLink
A
_fnGetArguments
,
IShellLink
A
_fnSetArguments
,
IShellLink
A
_fnGetHotkey
,
IShellLink
A
_fnSetHotkey
,
IShellLink
A
_fnGetShowCmd
,
IShellLink
A
_fnSetShowCmd
,
IShellLink
A
_fnGetIconLocation
,
IShellLink
A
_fnSetIconLocation
,
IShellLink
A
_fnSetRelativePath
,
IShellLink
A
_fnResolve
,
IShellLink
A
_fnSetPath
};
...
...
@@ -682,7 +682,7 @@ static HRESULT WINAPI IShellLinkW_fnQueryInterface(
{
_ICOM_THIS_From_IShellLinkW
(
IShellLinkImpl
,
iface
);
return
IShellLink
_QueryInterface
((
IShellLink
*
)
This
,
riid
,
ppvObj
);
return
IShellLink
A_QueryInterface
((
IShellLinkA
*
)
This
,
riid
,
ppvObj
);
}
/******************************************************************************
...
...
@@ -694,7 +694,7 @@ static ULONG WINAPI IShellLinkW_fnAddRef(IShellLinkW * iface)
TRACE
(
"(%p)->(count=%lu)
\n
"
,
This
,
This
->
ref
);
return
IShellLink
_AddRef
((
IShellLink
*
)
This
);
return
IShellLink
A_AddRef
((
IShellLinkA
*
)
This
);
}
/******************************************************************************
* IShellLinkW_fnRelease
...
...
@@ -706,7 +706,7 @@ static ULONG WINAPI IShellLinkW_fnRelease(IShellLinkW * iface)
TRACE
(
"(%p)->(count=%lu)
\n
"
,
This
,
This
->
ref
);
return
IShellLink
_Release
((
IShellLink
*
)
This
);
return
IShellLink
A_Release
((
IShellLinkA
*
)
This
);
}
static
HRESULT
WINAPI
IShellLinkW_fnGetPath
(
IShellLinkW
*
iface
,
LPWSTR
pszFile
,
INT
cchMaxPath
,
WIN32_FIND_DATAA
*
pfd
,
DWORD
fFlags
)
...
...
include/wine/obj_shelllink.h
View file @
08aad6ac
...
...
@@ -18,11 +18,7 @@ extern "C" {
/*****************************************************************************
* Predeclare the interfaces
*/
DEFINE_SHLGUID
(
IID_IShellLink
,
0x000214EEL
,
0
,
0
);
typedef
struct
IShellLink
IShellLink
,
*
LPSHELLLINK
;
#define IShellLinkA IShellLink
DEFINE_SHLGUID
(
IID_IShellLinkW
,
0x000214F9L
,
0
,
0
);
typedef
struct
IShellLinkA
IShellLinkA
,
*
LPSHELLLINK
;
typedef
struct
IShellLinkW
IShellLinkW
,
*
LPSHELLLINKW
;
/*****************************************************************************
...
...
@@ -44,8 +40,8 @@ typedef enum
/*****************************************************************************
* IShellLink interface
*/
#define ICOM_INTERFACE IShellLink
#define IShellLink_METHODS \
#define ICOM_INTERFACE IShellLink
A
#define IShellLink
A
_METHODS \
ICOM_METHOD4( HRESULT, GetPath, LPSTR, pszFile, INT, cchMaxPath, WIN32_FIND_DATAA *, pfd, DWORD, fFlags) \
ICOM_METHOD1( HRESULT, GetIDList, LPITEMIDLIST *, ppidl) \
ICOM_METHOD1( HRESULT, SetIDList, LPCITEMIDLIST, pidl) \
...
...
@@ -64,35 +60,35 @@ typedef enum
ICOM_METHOD2( HRESULT, SetRelativePath, LPCSTR, pszPathRel, DWORD, dwReserved) \
ICOM_METHOD2( HRESULT, Resolve, HWND, hwnd, DWORD, fFlags) \
ICOM_METHOD1( HRESULT, SetPath, LPCSTR, pszFile)
#define IShellLink_IMETHODS \
#define IShellLink
A
_IMETHODS \
IUnknown_IMETHODS \
IShellLink_METHODS
ICOM_DEFINE
(
IShellLink
,
IUnknown
)
IShellLink
A
_METHODS
ICOM_DEFINE
(
IShellLink
A
,
IUnknown
)
#undef ICOM_INTERFACE
/*** IUnknown methods ***/
#define IShellLink_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IShellLink_AddRef(p) ICOM_CALL (AddRef,p)
#define IShellLink_Release(p) ICOM_CALL (Release,p)
#define IShellLink
A
_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IShellLink
A
_AddRef(p) ICOM_CALL (AddRef,p)
#define IShellLink
A
_Release(p) ICOM_CALL (Release,p)
/*** IShellLink methods ***/
#define IShellLink_GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d)
#define IShellLink_GetIDList(p,a) ICOM_CALL1(GetIDList,p,a)
#define IShellLink_SetIDList(p,a) ICOM_CALL1(SetIDList,p,a)
#define IShellLink_GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b)
#define IShellLink_SetDescription(p,a) ICOM_CALL1(SetDescription,p,a)
#define IShellLink_GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b)
#define IShellLink_SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a)
#define IShellLink_GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b)
#define IShellLink_SetArguments(p,a) ICOM_CALL1(SetArguments,p,a)
#define IShellLink_GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a)
#define IShellLink_SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a)
#define IShellLink_GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a)
#define IShellLink_SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a)
#define IShellLink_GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c)
#define IShellLink_SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b)
#define IShellLink_SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b)
#define IShellLink_Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b)
#define IShellLink
_SetPath(p,a)
ICOM_CALL1(SetPath,p,a)
#define IShellLink
A
_GetPath(p,a,b,c,d) ICOM_CALL4(GetPath,p,a,b,c,d)
#define IShellLink
A
_GetIDList(p,a) ICOM_CALL1(GetIDList,p,a)
#define IShellLink
A
_SetIDList(p,a) ICOM_CALL1(SetIDList,p,a)
#define IShellLink
A
_GetDescription(p,a,b) ICOM_CALL2(GetDescription,p,a,b)
#define IShellLink
A
_SetDescription(p,a) ICOM_CALL1(SetDescription,p,a)
#define IShellLink
A
_GetWorkingDirectory(p,a,b) ICOM_CALL2(GetWorkingDirectory,p,a,b)
#define IShellLink
A
_SetWorkingDirectory(p,a) ICOM_CALL1(SetWorkingDirectory,p,a)
#define IShellLink
A
_GetArguments(p,a,b) ICOM_CALL2(GetArguments,p,a,b)
#define IShellLink
A
_SetArguments(p,a) ICOM_CALL1(SetArguments,p,a)
#define IShellLink
A
_GetHotkey(p,a) ICOM_CALL1(GetHotkey,p,a)
#define IShellLink
A
_SetHotkey(p,a) ICOM_CALL1(SetHotkey,p,a)
#define IShellLink
A
_GetShowCmd(p,a) ICOM_CALL1(GetShowCmd,p,a)
#define IShellLink
A
_SetShowCmd(p,a) ICOM_CALL1(SetShowCmd,p,a)
#define IShellLink
A
_GetIconLocation(p,a,b,c) ICOM_CALL3(GetIconLocation,p,a,b,c)
#define IShellLink
A
_SetIconLocation(p,a,b) ICOM_CALL2(SetIconLocation,p,a,b)
#define IShellLink
A
_SetRelativePath(p,a,b) ICOM_CALL2(SetRelativePath,p,a,b)
#define IShellLink
A
_Resolve(p,a,b) ICOM_CALL2(Resolve,p,a,b)
#define IShellLink
A_SetPath(p,a)
ICOM_CALL1(SetPath,p,a)
/*****************************************************************************
* IShellLinkW interface
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment