Repository: files-community/Files
File: src/Files.App/Helpers/Win32/Win32PInvoke.Consts.cs (C#)

Code before:
		public const int FILE_NOTIFY_CHANGE_SECURITY = 256;

		public const int INVALID_HANDLE_VALUE = -1;
		public const int FILE_SHARE_READ = 0x00000001;
		public const int FILE_SHARE_WRITE = 0x00000002;
		public const uint FILE_SHARE_DELETE = 0x00000004;
		public const int OPEN_EXISTING = 3;
		public const int IOCTL_STORAGE_EJECT_MEDIA = 0x2D4808;
		public const int IOCTL_STORAGE_MEDIA_REMOVAL = 0x002D4804;

		public const uint FILE_APPEND_DATA = 0x0004;


		public const uint FILE_BEGIN = 0;
		public const uint FILE_END = 2;

		public const uint CREATE_ALWAYS = 2;
		public const uint CREATE_NEW = 1;
		public const uint OPEN_ALWAYS = 4;
		public const uint TRUNCATE_EXISTING = 5;

		// FSCTL
		public const int FSCTL_GET_REPARSE_POINT = 0x000900A8;
		public const int FSCTL_LOCK_VOLUME = 0x00090018;
		public const int FSCTL_DISMOUNT_VOLUME = 0x00090020;
		public const uint FSCTL_SET_COMPRESSION = 0x9C040u;

		// Compression
		public const ushort COMPRESSION_FORMAT_NONE = 0x0000;
		public const ushort COMPRESSION_FORMAT_DEFAULT = 0x0001;


		public const int MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16 * 1024;
		public const uint IO_REPARSE_TAG_MOUNT_POINT = 0xA0000003;
		public const uint IO_REPARSE_TAG_SYMLINK = 0xA000000C;

		public const int FIND_FIRST_EX_CASE_SENSITIVE = 1;
		public const int FIND_FIRST_EX_LARGE_FETCH = 2;

		public const int NORM_IGNORECASE = 0x00000001;
		public const int NORM_IGNORENONSPACE = 0x00000002;
		public const int NORM_IGNORESYMBOLS = 0x00000004;
		public const int LINGUISTIC_IGNORECASE = 0x00000010;
		public const int LINGUISTIC_IGNOREDIACRITIC = 0x00000020;
		public const int NORM_IGNOREKANATYPE = 0x00010000;
		public const int NORM_IGNOREWIDTH = 0x00020000;
		public const int NORM_LINGUISTIC_CASING = 0x08000000;
		public const int SORT_STRINGSORT = 0x00001000;
		public const int SORT_DIGITSASNUMBERS = 0x00000008;

		public const string LOCALE_NAME_USER_DEFAULT = null;

Review comment (suggestion):
I think you can add these const names to CsWin32 and use them from the `Windows.Win32.PInvoke` class like `PInvoke.FSCTL_SET_COMPRESSION`.

Code after:
		public const int FILE_NOTIFY_CHANGE_SECURITY = 256;

		public const int INVALID_HANDLE_VALUE = -1;
		public const int FILE_SHARE_READ = 0x00000001;
		public const int FILE_SHARE_WRITE = 0x00000002;
		public const uint FILE_SHARE_DELETE = 0x00000004;
		public const int OPEN_EXISTING = 3;
		public const int IOCTL_STORAGE_EJECT_MEDIA = 0x2D4808;
		public const int IOCTL_STORAGE_MEDIA_REMOVAL = 0x002D4804;

		public const uint FILE_APPEND_DATA = 0x0004;


		public const uint FILE_BEGIN = 0;
		public const uint FILE_END = 2;

		public const uint CREATE_ALWAYS = 2;
		public const uint CREATE_NEW = 1;
		public const uint OPEN_ALWAYS = 4;
		public const uint TRUNCATE_EXISTING = 5;

		// FSCTL
		public const int FSCTL_GET_REPARSE_POINT = 0x000900A8;

		public const int MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16 * 1024;
		public const uint IO_REPARSE_TAG_MOUNT_POINT = 0xA0000003;
		public const uint IO_REPARSE_TAG_SYMLINK = 0xA000000C;

		public const int FIND_FIRST_EX_CASE_SENSITIVE = 1;
		public const int FIND_FIRST_EX_LARGE_FETCH = 2;

		public const int NORM_IGNORECASE = 0x00000001;
		public const int NORM_IGNORENONSPACE = 0x00000002;
		public const int NORM_IGNORESYMBOLS = 0x00000004;
		public const int LINGUISTIC_IGNORECASE = 0x00000010;
		public const int LINGUISTIC_IGNOREDIACRITIC = 0x00000020;
		public const int NORM_IGNOREKANATYPE = 0x00010000;
		public const int NORM_IGNOREWIDTH = 0x00020000;
		public const int NORM_LINGUISTIC_CASING = 0x08000000;
		public const int SORT_STRINGSORT = 0x00001000;
		public const int SORT_DIGITSASNUMBERS = 0x00000008;

		public const string LOCALE_NAME_USER_DEFAULT = null;
		public const string LOCALE_NAME_INVARIANT = "";
		public const string LOCALE_NAME_SYSTEM_DEFAULT = "!sys-default-locale";
	}
}