Module: wine
Branch: master
Commit: cfab11e16a0a9c51ef8b30f6a2ef355466f4b315
URL: https://gitlab.winehq.org/wine/wine/-/commit/cfab11e16a0a9c51ef8b30f6a2ef35…
Author: Michael Müller <michael(a)fds-team.de>
Date: Thu Mar 31 23:23:09 2016 +0200
wine.inf: Register the New menu as a directory background context menu handler.
CDBurnerXP expects the ContextMenuHandlers key to exist, and apparently
enumerates it until it receives ERROR_NO_MORE_ITEMS. If it fails to open the
key, it will spin forever trying to call RegEnumKeyExW(NULL) and getting
ERROR_INVALID_HANDLE.
We could simply create an empty ContextMenuHandlers key here, but this will
allow the New menu to work in the builtin explorer view once shellex handlers
are implemented.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=29523
---
loader/wine.inf.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 11c0e20b3ff..b1c0aad6821 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -284,6 +284,7 @@ HKCR,chm.file\shell\open\command,,2,"""%10%\hh.exe"" ""%1"""
HKCR,cplfile,,2,"Control Panel Item"
HKCR,cplfile\shell\cplopen,,2,"Open with Control Panel"
HKCR,cplfile\shell\cplopen\command,,2,"rundll32.exe shell32.dll,Control_RunDLL ""%1"",%*"
+HKCR,Directory\Background\shellex\ContextMenuHandlers\New,,,"{d969a300-e7ff-11d0-a93b-00a0c90f2719}"
HKCR,DirectShow,,16
HKCR,exefile,,2,"Application"
HKCR,exefile\DefaultIcon,,2,"%1"