Skip to content

Code Quality: Removed unused P/Invoke methods from helper class #17120

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Lamparter
Copy link
Contributor

Resolved / Related Issues

Steps used to test these changes

  1. Built Files

Removes a lot of methods, structs and enums that are no longer necessary or in use by Files.

@0x5bfa
Copy link
Member

0x5bfa commented May 11, 2025

How come supposed to be re-added? If they aren't in use, I guess they are safe to be removed.

@Lamparter
Copy link
Contributor Author

All of the types, methods, enums and structures in the Win32 PInvoke helper should be replaced with CsWin32 generations unless they are undocumented APIs.
In that case they should be moved to the Extras class in Files.App.CsWin32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants