-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Code Quality: Replaced stack-allocated GUIDs with RVA-inlined GUIDs #16993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
41ca094
Init
0x5bfa 8154c22
Update src/Files.App/Services/Windows/WindowsDialogService.cs
0x5bfa f72ea3c
Update src/Files.App/Services/Windows/WindowsDialogService.cs
0x5bfa 8edac21
Update src/Files.App/Services/Windows/WindowsWallpaperService.cs
0x5bfa 047a438
Update src/Files.App/Services/Windows/WindowsWallpaperService.cs
0x5bfa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| // Copyright (c) Files Community | ||
| // Licensed under the MIT License. | ||
|
|
||
| using System; | ||
| using System.Runtime.CompilerServices; | ||
| using Windows.Win32.System.WinRT; | ||
|
|
||
| namespace Windows.Win32 | ||
| { | ||
| public static unsafe partial class IID | ||
| { | ||
| public static Guid* IID_IStorageProviderStatusUISourceFactory | ||
| => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IStorageProviderStatusUISourceFactory.Guid)); | ||
|
|
||
| [GuidRVAGen.Guid("000214E4-0000-0000-C000-000000000046")] | ||
| public static partial Guid* IID_IContextMenu { get; } | ||
|
|
||
| [GuidRVAGen.Guid("70629033-E363-4A28-A567-0DB78006E6D7")] | ||
| public static partial Guid* IID_IEnumShellItems { get; } | ||
|
|
||
| [GuidRVAGen.Guid("43826D1E-E718-42EE-BC55-A1E261C37BFE")] | ||
| public static partial Guid* IID_IShellItem { get; } | ||
|
|
||
| [GuidRVAGen.Guid("7E9FB0D3-919F-4307-AB2E-9B1860310C93")] | ||
| public static partial Guid* IID_IShellItem2 { get; } | ||
|
|
||
| [GuidRVAGen.Guid("947AAB5F-0A5C-4C13-B4D6-4BF7836FC9F8")] | ||
| public static partial Guid* IID_IFileOperation { get; } | ||
|
|
||
| [GuidRVAGen.Guid("D57C7288-D4AD-4768-BE02-9D969532D960")] | ||
| public static partial Guid* IID_IFileOpenDialog { get; } | ||
|
|
||
| [GuidRVAGen.Guid("84BCCD23-5FDE-4CDB-AEA4-AF64B83D78AB")] | ||
| public static partial Guid* IID_IFileSaveDialog { get; } | ||
|
|
||
| [GuidRVAGen.Guid("B92B56A9-8B55-4E14-9A89-0199BBB6F93B")] | ||
| public static partial Guid* IID_IDesktopWallpaper { get; } | ||
|
|
||
| [GuidRVAGen.Guid("2E941141-7F97-4756-BA1D-9DECDE894A3D")] | ||
| public static partial Guid* IID_IApplicationActivationManager { get; } | ||
| } | ||
|
|
||
| public static unsafe partial class CLSID | ||
| { | ||
| [GuidRVAGen.Guid("3AD05575-8857-4850-9277-11B85BDB8E09")] | ||
| public static partial Guid* CLSID_FileOperation { get; } | ||
|
|
||
| [GuidRVAGen.Guid("DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7")] | ||
| public static partial Guid* CLSID_FileOpenDialog { get; } | ||
|
|
||
| [GuidRVAGen.Guid("C0B4E2F3-BA21-4773-8DBA-335EC946EB8B")] | ||
| public static partial Guid* CLSID_FileSaveDialog { get; } | ||
|
|
||
| [GuidRVAGen.Guid("C2CF3110-460E-4FC1-B9D0-8A1C0C9CC4BD")] | ||
| public static partial Guid* CLSID_DesktopWallpaper { get; } | ||
|
|
||
| [GuidRVAGen.Guid("45BA127D-10A8-46EA-8AB7-56EA9078943C")] | ||
| public static partial Guid* CLSID_ApplicationActivationManager { get; } | ||
| } | ||
|
|
||
| public static unsafe partial class BHID | ||
| { | ||
| [GuidRVAGen.Guid("3981E225-F559-11D3-8E3A-00C04F6837D5")] | ||
| public static partial Guid* BHID_SFUIObject { get; } | ||
|
|
||
| [GuidRVAGen.Guid("94F60519-2850-4924-AA5A-D15E84868039")] | ||
| public static partial Guid* BHID_EnumItems { get; } | ||
| } | ||
|
|
||
| public static unsafe partial class FOLDERID | ||
| { | ||
| [GuidRVAGen.Guid("B7534046-3ECB-4C18-BE4E-64CD4CB7D6AC")] | ||
| public static partial Guid* FOLDERID_RecycleBinFolder { get; } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.