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 35d19cc commit 676c925Copy full SHA for 676c925
src/Files.App.Storage/Storables/WindowsStorage/WindowsStorableHelpers.Registry.cs
@@ -5,6 +5,12 @@
5
using Windows.Win32.Foundation;
6
using Windows.Win32.System.Registry;
7
8
+// There are two kinds of ShellNew entry residence:
9
+//
10
+// 1.) .docx > Word.Document.12 > ShellNew
11
+// 2.) .mdb > SellNew
12
+
13
14
namespace Files.App.Storage
15
{
16
public unsafe static partial class WindowsStorableHelpers
@@ -45,7 +51,7 @@ public static string[] EnumerateRegistryKeyNames(HKEY hKey)
45
51
else
46
52
47
53
// An error occurred, handle it accordingly
48
- break;
54
+ return [];
49
55
}
50
56
57
0 commit comments