Use the correct enum when getting command string

This commit is contained in:
Yusyuriv 2024-06-12 17:17:08 +06:00
parent e97964b95c
commit 75156959e5
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -343,7 +343,7 @@ public static class ShellContextMenuDisplayHelper
var commandBuilder = new StringBuilder(256);
contextMenu.GetCommandString(
mii.wID - ContextMenuStartId,
(uint)ContextMenuFlags.Explore,
(uint)GetCommandStringFlags.Verb,
IntPtr.Zero,
commandBuilder,
commandBuilder.Capacity