[SHDOCVW][EXPLORER][RSHELL][SDK] Populate WinList_* stubs (#7691)

Implementing missing features...
JIRA issue: CORE-9368
- Modify shdocvw.spec.
- Add dll/win32/shdocvw/winlist.cpp.
- Add stubs of WinList_* functions.
- Add WinList_* function prototypes
  to <shdocvw_undoc.h>.
- Adapt explorer and rshell to new
  WinList_Init prototype.
This commit is contained in:
Katayama Hirofumi MZ 2025-02-01 07:14:36 +09:00 committed by GitHub
parent f335322ace
commit ee19792605
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 300 additions and 21 deletions

View file

@ -2,14 +2,16 @@
* PROJECT: ReactOS Headers
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: shdocvw.dll undocumented APIs
* COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
* COPYRIGHT: Copyright 2024-2025 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
*/
#pragma once
#include <exdisp.h> // For IShellWindows
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#endif
BOOL WINAPI
IEILIsEqual(
@ -17,6 +19,31 @@ IEILIsEqual(
_In_ LPCITEMIDLIST pidl2,
_In_ BOOL bUnknown);
BOOL WINAPI WinList_Init(VOID);
VOID WINAPI WinList_Terminate(VOID);
HRESULT WINAPI WinList_Revoke(_In_ LONG lCookie);
IShellWindows* WINAPI WinList_GetShellWindows(_In_ BOOL bCreate);
HRESULT WINAPI
WinList_NotifyNewLocation(
_In_ IShellWindows *pShellWindows,
_In_ LONG lCookie,
_In_ LPCITEMIDLIST pidl);
HRESULT WINAPI
WinList_FindFolderWindow(
_In_ LPCITEMIDLIST pidl,
_In_ DWORD dwUnused,
_Out_opt_ PLONG phwnd,
_Out_opt_ IWebBrowserApp **ppWebBrowserApp);
HRESULT WINAPI
WinList_RegisterPending(
_In_ DWORD dwThreadId,
_In_ LPCITEMIDLIST pidl,
_In_ DWORD dwUnused,
_Out_ PLONG plCookie);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif

View file

@ -928,7 +928,6 @@ BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCWSTR pszKey);
#define TABDMC_LOADINPROC 2
void WINAPI ShellDDEInit(BOOL bInit);
DWORD WINAPI WinList_Init(void);
IStream* WINAPI SHGetViewStream(LPCITEMIDLIST, DWORD, LPCTSTR, LPCTSTR, LPCTSTR);