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
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
31 deletions
+27
-31
shelllink.c
dlls/shell32/shelllink.c
+0
-0
obj_shelllink.h
include/wine/obj_shelllink.h
+27
-31
No files found.
dlls/shell32/shelllink.c
View file @
08aad6ac
This diff is collapsed.
Click to expand it.
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