https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fbc14d52cd17f38b17809…
commit fbc14d52cd17f38b178093ef2e0e7439fa76d208
Author: Suraj K Suresh <kssuraj15(a)gmail.com>
AuthorDate: Wed Dec 25 00:24:51 2019 +0530
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Jan 3 22:42:35 2020 +0100
[PSDK] Support STRICT_TYPED_ITEMIDS in shdeprecated.idl. CORE-16385
---
dll/win32/shell32/wine/shellord.c | 2 +-
sdk/include/psdk/shdeprecated.idl | 26 +++++++++++++-------------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dll/win32/shell32/wine/shellord.c b/dll/win32/shell32/wine/shellord.c
index 51231c6afc7..a8bdab0e62c 100644
--- a/dll/win32/shell32/wine/shellord.c
+++ b/dll/win32/shell32/wine/shellord.c
@@ -743,7 +743,7 @@ void WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
if (SUCCEEDED(SHGetSpecialFolderLocation(hwnd, CSIDL_RECENT,
&pidl))) {
SHGetPathFromIDListA(pidl, link_dir);
- IMalloc_Free(ppM,pidl);
+ IMalloc_Free(ppM, pidl);
}
else {
/* serious issues */
diff --git a/sdk/include/psdk/shdeprecated.idl b/sdk/include/psdk/shdeprecated.idl
index 7e2e38949ed..edcde04a8ad 100644
--- a/sdk/include/psdk/shdeprecated.idl
+++ b/sdk/include/psdk/shdeprecated.idl
@@ -50,7 +50,7 @@ interface ITravelEntry : IUnknown
[in] BOOL fIsLocalAnchor);
HRESULT GetPidl(
- [out] LPITEMIDLIST *ppidl);
+ [out] PIDLIST_ABSOLUTE *ppidl);
};
[
@@ -84,7 +84,7 @@ interface ITravelLog : IUnknown
HRESULT FindTravelEntry(
[in] IUnknown *punk,
- [in] LPCITEMIDLIST pidl,
+ [in] PCIDLIST_ABSOLUTE pidl,
[out] ITravelEntry **ppte);
HRESULT GetToolTipText(
@@ -343,17 +343,17 @@ typedef struct basebrowserdataxp
DWORD _fCreatingViewWindow;
UINT _uActivateState;
- LPCITEMIDLIST _pidlNewShellView;
+ PCIDLIST_ABSOLUTE _pidlNewShellView;
IOleCommandTarget *_pctView;
- LPITEMIDLIST _pidlCur;
+ PIDLIST_ABSOLUTE _pidlCur;
IShellView *_psv;
IShellFolder *_psf;
HWND _hwndView;
LPWSTR _pszTitleCur;
- LPITEMIDLIST _pidlPending;
+ PIDLIST_ABSOLUTE _pidlPending;
IShellView *_psvPending;
IShellFolder *_psfPending;
HWND _hwndViewPending;
@@ -378,17 +378,17 @@ typedef struct basebrowserdatalh
DWORD _fCreatingViewWindow;
UINT _uActivateState;
- LPCITEMIDLIST _pidlNewShellView;
+ PCIDLIST_ABSOLUTE _pidlNewShellView;
IOleCommandTarget *_pctView;
- LPITEMIDLIST _pidlCur;
+ PIDLIST_ABSOLUTE _pidlCur;
IShellView *_psv;
IShellFolder *_psf;
HWND _hwndView;
LPWSTR _pszTitleCur;
- LPITEMIDLIST _pidlPending;
+ PIDLIST_ABSOLUTE _pidlPending;
IShellView *_psvPending;
IShellFolder *_psfPending;
HWND _hwndViewPending;
@@ -535,13 +535,13 @@ interface IBrowserService2 : IBrowserService
HRESULT _DisableModeless();
HRESULT _NavigateToPidl(
- [in] LPCITEMIDLIST pidl,
+ [in] PCIDLIST_ABSOLUTE pidl,
[in] DWORD grfHLNF,
[in] DWORD dwFlags);
HRESULT _TryShell2Rename(
[in] IShellView *psv,
- [in] LPCITEMIDLIST pidlNew);
+ [in] PCIDLIST_ABSOLUTE pidlNew);
HRESULT _SwitchActivationNow();
@@ -593,7 +593,7 @@ interface IBrowserService2 : IBrowserService
[in] HMONITOR hmon);
IStream* v_GetViewStream(
- [in] LPCITEMIDLIST pidl,
+ [in] PCIDLIST_ABSOLUTE pidl,
[in] DWORD grfMode,
[in] LPCWSTR pwszName);
@@ -647,7 +647,7 @@ interface IBrowserService2 : IBrowserService
[in] BOOL bUseHmonitor);
HRESULT v_CheckZoneCrossing(
- [in, out] LPCITEMIDLIST pidl);
+ [in, out] PCIDLIST_ABSOLUTE pidl);
};
[
@@ -666,7 +666,7 @@ interface IBrowserService3 : IBrowserService2
[in] UINT uiCP,
[in] LPCWSTR pwszPath,
[in] DWORD dwFlags,
- [out] LPITEMIDLIST *ppidlOut);
+ [out] PIDLIST_ABSOLUTE *ppidlOut);
};
[