Skip to content
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

FILE_DISPOSITION_INFO_EX flags #1528

Closed
ChrisDenton opened this issue Apr 6, 2023 · 0 comments
Closed

FILE_DISPOSITION_INFO_EX flags #1528

ChrisDenton opened this issue Apr 6, 2023 · 0 comments
Assignees

Comments

@ChrisDenton
Copy link
Contributor

I think these should be a flag type rather than raw uint.

public const uint FILE_DISPOSITION_FLAG_DO_NOT_DELETE = 0u;
public const uint FILE_DISPOSITION_FLAG_DELETE = 1u;
public const uint FILE_DISPOSITION_FLAG_POSIX_SEMANTICS = 2u;
public const uint FILE_DISPOSITION_FLAG_FORCE_IMAGE_SECTION_CHECK = 4u;
public const uint FILE_DISPOSITION_FLAG_ON_CLOSE = 8u;
public const uint FILE_DISPOSITION_FLAG_IGNORE_READONLY_ATTRIBUTE = 16u;

public struct FILE_DISPOSITION_INFO_EX
{
    public uint Flags;
}

Additionally, I think FILE_DISPOSITION_INFO_EX should be moved from Windows.Win32.System.WindowsProgramming to Windows.Win32.System.Windows.Win32.Storage.FileSystem.

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

No branches or pull requests

2 participants