[BROWSEUI][SHDOCVW][SDK] Fix 'Add Favorite' command (#7804)

JIRA issue: CORE-19824
JIRA issue: CORE-19867
- Add shdocvw import to browseui.
- Half-implement shdocvw!
  AddUrlToFavorites function.
- Add AddUrlToFavorites prototype
  to <shdocvw_undoc.h>.
- Fix browseui!CShellBrowser::
  OnAddToFavorites and
  shdocvw!CNSCBand::_AddFavorite
  by using AddUrlToFavorites.
This commit is contained in:
Katayama Hirofumi MZ 2025-03-26 04:35:22 +09:00 committed by GitHub
parent 0c6423da8d
commit 151ba9ee8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 122 additions and 99 deletions

View file

@ -19,6 +19,13 @@ IEILIsEqual(
_In_ LPCITEMIDLIST pidl2,
_In_ BOOL bUnknown);
HRESULT WINAPI
AddUrlToFavorites(
_In_ HWND hwnd,
_In_opt_ LPCWSTR pszUrlW,
_In_ LPCWSTR pszTitleW,
_In_ BOOL fDisplayUI);
BOOL WINAPI WinList_Init(VOID);
VOID WINAPI WinList_Terminate(VOID);
HRESULT WINAPI WinList_Revoke(_In_ LONG lCookie);