First commit CLSIDViewer #1610

This commit is contained in:
ema
2025-05-06 02:52:31 +08:00
parent 1bc82c8b81
commit 19373a28a7
12 changed files with 325 additions and 13 deletions

View File

@@ -68,7 +68,7 @@ void HelperMethods::ObtainFirstItem(CComPtr<IDataObject> dao, PWCHAR buffer)
}
// If CF_HDROP fails, try CFSTR_SHELLIDLIST
// Support Desktop Icon (This PC, Recycle Bin and so on)
// Support Desktop Icons (This PC, Recycle Bin and so on)
// https://github.com/QL-Win/QuickLook/issues/1610
static const CLIPFORMAT cfShellIDList = (CLIPFORMAT)RegisterClipboardFormatW(CFSTR_SHELLIDLIST);
formatetc.cfFormat = cfShellIDList;