summaryrefslogtreecommitdiff
path: root/src/mscorlib/corefx/Interop/Windows/mincore/Interop.FileOperations.cs
blob: 436976004206cd8eaae65b777a5b52f8d4eba049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

internal partial class Interop
{
    internal partial class mincore
    {
        internal partial class IOReparseOptions
        {
            internal const uint IO_REPARSE_TAG_FILE_PLACEHOLDER = 0x80000015;
            internal const uint IO_REPARSE_TAG_MOUNT_POINT = 0xA0000003;
        }

        internal partial class FileOperations
        {
            internal const int OPEN_EXISTING = 3;
            internal const int COPY_FILE_FAIL_IF_EXISTS = 0x00000001;

            internal const int FILE_ACTION_ADDED = 1;
            internal const int FILE_ACTION_REMOVED = 2;
            internal const int FILE_ACTION_MODIFIED = 3;
            internal const int FILE_ACTION_RENAMED_OLD_NAME = 4;
            internal const int FILE_ACTION_RENAMED_NEW_NAME = 5;

            internal const int FILE_FLAG_BACKUP_SEMANTICS = 0x02000000;
            internal const int FILE_FLAG_FIRST_PIPE_INSTANCE = 0x00080000;
            internal const int FILE_FLAG_OVERLAPPED = 0x40000000;

            internal const int FILE_LIST_DIRECTORY = 0x0001;
        }

        internal const uint SEM_FAILCRITICALERRORS = 1;
    }
}