Skip to content

Commit dd21450

Browse files
committed
Separate the PInvoke classe
1 parent 8946c43 commit dd21450

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

src/Files.App.CsWin32/Guids.cs

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
// Copyright (c) 2024 Files Community
22
// Licensed under the MIT License. See the LICENSE.
33

4-
using System.Runtime.InteropServices;
5-
using Windows.Win32.Foundation;
4+
using System;
65

76
namespace Windows.Win32
87
{
8+
// CLSIDs
99
public static unsafe partial class PInvoke
1010
{
11-
[GuidRVAGen.Guid("B92B56A9-8B55-4E14-9A89-0199BBB6F93B")]
12-
public static partial Guid* IID_DesktopWallpaper { get; }
11+
[GuidRVAGen.Guid("C2CF3110-460E-4FC1-B9D0-8A1C0C9CC4BD")]
12+
public static partial Guid* CLSID_DesktopWallpaper { get; }
13+
}
1314

15+
// IIDs
16+
public static unsafe partial class PInvoke
17+
{
1418
[GuidRVAGen.Guid("B92B56A9-8B55-4E14-9A89-0199BBB6F93B")]
15-
public static partial Guid* CLSID_DesktopWallpaper { get; }
19+
public static partial Guid* IID_IDesktopWallpaper { get; }
20+
}
21+
22+
// Misc
23+
public static unsafe partial class PInvoke
24+
{
25+
[GuidRVAGen.Guid("94f60519-2850-4924-aa5a-d15e84868039")]
26+
public static partial Guid* BHID_EnumItems { get; }
1627
}
1728
}

0 commit comments

Comments
 (0)