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
55fc5c8a
Commit
55fc5c8a
authored
Dec 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for shell32 functions.
parent
9be166e2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
13 deletions
+21
-13
Makefile.in
dlls/shell32/Makefile.in
+1
-0
shellapi.h
include/shellapi.h
+0
-0
shlobj.h
include/shlobj.h
+0
-0
shobjidl.idl
include/shobjidl.idl
+20
-13
No files found.
dlls/shell32/Makefile.in
View file @
55fc5c8a
EXTRADEFS
=
-D_SHELL32_
MODULE
=
shell32.dll
MODULE
=
shell32.dll
IMPORTLIB
=
shell32
IMPORTLIB
=
shell32
IMPORTS
=
uuid shlwapi user32 gdi32 advapi32
IMPORTS
=
uuid shlwapi user32 gdi32 advapi32
...
...
include/shellapi.h
View file @
55fc5c8a
This diff is collapsed.
Click to expand it.
include/shlobj.h
View file @
55fc5c8a
This diff is collapsed.
Click to expand it.
include/shobjidl.idl
View file @
55fc5c8a
...
@@ -37,6 +37,13 @@ import "shobjidl_core.idl";
...
@@ -37,6 +37,13 @@ import "shobjidl_core.idl";
cpp_quote
(
"/* FIXME: #include <sherrors.h> */"
)
cpp_quote
(
"/* FIXME: #include <sherrors.h> */"
)
cpp_quote
(
"#ifndef WINSHELLAPI"
)
cpp_quote
(
"#ifdef _SHELL32_"
)
cpp_quote
(
"# define WINSHELLAPI"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"# define WINSHELLAPI DECLSPEC_IMPORT"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#endif"
)
/*****************************************************************************
/*****************************************************************************
*
IPersistFolder
interface
*
IPersistFolder
interface
...
@@ -654,18 +661,18 @@ typedef [v1_enum] enum DATAOBJ_GET_ITEM_FLAGS
...
@@ -654,18 +661,18 @@ typedef [v1_enum] enum DATAOBJ_GET_ITEM_FLAGS
}
DATAOBJ_GET_ITEM_FLAGS
;
}
DATAOBJ_GET_ITEM_FLAGS
;
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(DATAOBJ_GET_ITEM_FLAGS)"
)
cpp_quote
(
"DEFINE_ENUM_FLAG_OPERATORS(DATAOBJ_GET_ITEM_FLAGS)"
)
cpp_quote
(
"HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateItemFromParsingName(PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateItemFromParsingName(PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateItemFromIDList(PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateItemFromIDList(PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateItemFromRelativeName(IShellItem *parent, PCWSTR name, IBindCtx *pbc, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateItemFromRelativeName(IShellItem *parent, PCWSTR name, IBindCtx *pbc, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl);"
)
cpp_quote
(
"HRESULT WINAPI SHGetItemFromObject(IUnknown *punk, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHGetItemFromObject(IUnknown *punk, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent, IShellFolder* psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent, IShellFolder* psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateShellItemArrayFromShellItem(IShellItem *psi, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateShellItemArrayFromShellItem(IShellItem *psi, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateShellItemArrayFromIDLists(UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateShellItemArrayFromIDLists(UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateItemInKnownFolder(REFKNOWNFOLDERID rfid, DWORD flags, PCWSTR filename, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateItemInKnownFolder(REFKNOWNFOLDERID rfid, DWORD flags, PCWSTR filename, REFIID riid, void **ppv);"
)
cpp_quote
(
"HRESULT WINAPI SHCreateShellItemArrayFromDataObject(IDataObject *pdo, REFIID riid, void **ppv);"
)
cpp_quote
(
"
WINSHELLAPI
HRESULT WINAPI SHCreateShellItemArrayFromDataObject(IDataObject *pdo, REFIID riid, void **ppv);"
)
/*****************************************************************************
/*****************************************************************************
*
IShellItemFilter
interface
*
IShellItemFilter
interface
...
@@ -3791,7 +3798,7 @@ typedef enum ASSOC_FILTER
...
@@ -3791,7 +3798,7 @@ typedef enum ASSOC_FILTER
ASSOC_FILTER_NONE = 0,
ASSOC_FILTER_NONE = 0,
ASSOC_FILTER_RECOMMENDED
ASSOC_FILTER_RECOMMENDED
} ASSOC_FILTER;
} ASSOC_FILTER;
cpp_quote("HRESULT WINAPI SHAssocEnumHandlers(PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum);")
cpp_quote("
WINSHELLAPI
HRESULT WINAPI SHAssocEnumHandlers(PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum);")
[
[
uuid(1df0d7f1-b267-4d28-8b10-12e23202a5c4),
uuid(1df0d7f1-b267-4d28-8b10-12e23202a5c4),
...
...
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