shell32: Add stubbed SHGetKnownFolderPath.
This commit is contained in:
parent
5a5af75f04
commit
dd1a47093e
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue