[SHELL32] Initialize COM for PickIconDlg (#7788)

CORE-20030
This commit is contained in:
Whindmar Saksit 2025-03-16 10:09:31 +01:00 committed by GitHub
parent 96aa1eee17
commit c6b134123b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -354,6 +354,7 @@ BOOL WINAPI PickIconDlg(
UINT nMaxFile,
INT* lpdwIconIndex)
{
CCoInit ComInit; // For SHAutoComplete (CORE-20030)
int res;
WCHAR szExpandedPath[MAX_PATH];