Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dd1a4709
Commit
dd1a4709
authored
Sep 02, 2010
by
Louis Lenders
Committed by
Alexandre Julliard
Sep 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add stubbed SHGetKnownFolderPath.
parent
5a5af75f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
0 deletions
+24
-0
shell32.spec
dlls/shell32/shell32.spec
+1
-0
shellpath.c
dlls/shell32/shellpath.c
+10
-0
shlobj.h
include/shlobj.h
+1
-0
shtypes.idl
include/shtypes.idl
+12
-0
No files found.
dlls/shell32/shell32.spec
View file @
dd1a4709
...
...
@@ -366,6 +366,7 @@
@ stdcall SHGetInstanceExplorer(long)
@ stdcall SHGetItemFromDataObject(ptr long ptr ptr)
@ stdcall SHGetItemFromObject(ptr ptr ptr)
@ stdcall SHGetKnownFolderPath(ptr long ptr ptr)
@ stdcall SHGetLocalizedName(wstr ptr long ptr)
@ stdcall SHGetMalloc(ptr)
@ stdcall SHGetNameFromIDList(ptr long ptr)
...
...
dlls/shell32/shellpath.c
View file @
dd1a4709
...
...
@@ -40,6 +40,7 @@
#include "winuser.h"
#include "shlobj.h"
#include "shtypes.h"
#include "shresdef.h"
#include "shell32_main.h"
#include "undocshell.h"
...
...
@@ -2502,3 +2503,12 @@ HRESULT WINAPI SHGetSpecialFolderLocation(
hr
=
SHGetFolderLocation
(
hwndOwner
,
nFolder
,
NULL
,
0
,
ppidl
);
return
hr
;
}
/*************************************************************************
* SHGetKnownFolderPath [SHELL32.@]
*/
HRESULT
WINAPI
SHGetKnownFolderPath
(
REFKNOWNFOLDERID
rfid
,
DWORD
flags
,
HANDLE
token
,
PWSTR
*
path
)
{
FIXME
(
"(%s, %d, %p, %p) stub!
\n
"
,
debugstr_guid
(
rfid
),
flags
,
token
,
path
);
return
E_NOTIMPL
;
}
include/shlobj.h
View file @
dd1a4709
...
...
@@ -62,6 +62,7 @@ HRESULT WINAPI SHGetInstanceExplorer(IUnknown**);
HRESULT
WINAPI
SHGetFolderPathAndSubDirA
(
HWND
,
int
,
HANDLE
,
DWORD
,
LPCSTR
,
LPSTR
);
HRESULT
WINAPI
SHGetFolderPathAndSubDirW
(
HWND
,
int
,
HANDLE
,
DWORD
,
LPCWSTR
,
LPWSTR
);
#define SHGetFolderPathAndSubDir WINELIB_NAME_AW(SHGetFolderPathAndSubDir);
HRESULT
WINAPI
SHGetKnownFolderPath
(
REFKNOWNFOLDERID
,
DWORD
,
HANDLE
,
PWSTR
*
);
BOOL
WINAPI
SHGetPathFromIDListA
(
LPCITEMIDLIST
,
LPSTR
);
BOOL
WINAPI
SHGetPathFromIDListW
(
LPCITEMIDLIST
,
LPWSTR
);
#define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
...
...
include/shtypes.idl
View file @
dd1a4709
...
...
@@ -111,3 +111,15 @@ typedef [v1_enum] enum tagSHCOLSTATE
}
SHCOLSTATE
;
typedef
DWORD
SHCOLSTATEF
;
typedef
GUID
KNOWNFOLDERID
;
cpp_quote
(
"#if 0"
)
typedef
KNOWNFOLDERID
*
REFKNOWNFOLDERID
;
cpp_quote
(
"#endif"
)
cpp_quote
(
"#ifdef __cplusplus"
)
cpp_quote
(
"#define REFKNOWNFOLDERID const KNOWNFOLDERID &"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#define REFKNOWNFOLDERID const KNOWNFOLDERID * __MIDL_CONST"
)
cpp_quote
(
"#endif"
)
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