We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e01986 commit 82c54d5Copy full SHA for 82c54d5
src/Files.App/Actions/Open/OpenClassicPropertiesAction.cs
@@ -50,16 +50,15 @@ private unsafe void ExecuteShellCommand(string itemPath)
50
SHELLEXECUTEINFOW info = default;
51
info.cbSize = (uint)Marshal.SizeOf(info);
52
info.nShow = 5; // SW_SHOW
53
- info.fMask = 0x0000000C;
+ info.fMask = 0x0000000C; // SEE_MASK_INVOKEIDLIST
54
55
- var verb = "properties";
56
- fixed (char* cVerb = verb)
+ fixed (char* cVerb = "properties", lpFile = itemPath)
+ {
57
info.lpVerb = cVerb;
58
-
59
- fixed (char* lpFile = itemPath)
60
info.lpFile = lpFile;
61
62
- PInvoke.ShellExecuteEx(ref info);
+ PInvoke.ShellExecuteEx(ref info);
+ }
63
}
64
65
private void Context_PropertyChanged(object? sender, PropertyChangedEventArgs e)
0 commit comments