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 34979d8 commit 2ae0d75Copy full SHA for 2ae0d75
src/Files.App/Actions/Open/OpenClassicPropertiesAction.cs
@@ -54,6 +54,8 @@ private unsafe void ExecuteShellCommand(string itemPath)
54
{
55
SHELLEXECUTEINFOW info = default;
56
info.cbSize = (uint)Marshal.SizeOf(info);
57
+ info.nShow = 5; // SW_SHOW
58
+ info.fMask = 0x0000000C;
59
60
var verb = "properties";
61
fixed (char* cVerb = verb)
@@ -62,9 +64,6 @@ private unsafe void ExecuteShellCommand(string itemPath)
62
64
fixed (char* lpFile = itemPath)
63
65
info.lpFile = lpFile;
66
- info.nShow = 5; // SW_SHOW
- info.fMask = 0x0000000C;
67
-
68
PInvoke.ShellExecuteEx(ref info);
69
}
70
0 commit comments