diff --git a/SMBLibrary/NTFileStore/Enums/NtCreateFile/CreateDisposition.cs b/SMBLibrary/NTFileStore/Enums/NtCreateFile/CreateDisposition.cs index 069bd94..8f317cd 100644 --- a/SMBLibrary/NTFileStore/Enums/NtCreateFile/CreateDisposition.cs +++ b/SMBLibrary/NTFileStore/Enums/NtCreateFile/CreateDisposition.cs @@ -4,41 +4,38 @@ namespace SMBLibrary public enum CreateDisposition : uint { /// - /// If the file already exists, it SHOULD be superseded (overwritten). - /// If it does not already exist, then it SHOULD be created. + /// If the file already exists, replace it with the given file. + /// If it does not, create the given file. /// FILE_SUPERSEDE = 0x0000, /// - /// If the file already exists, it SHOULD be opened rather than created. - /// If the file does not already exist, the operation MUST fail. + /// If the file already exists, open it [instead of creating a new file]. + /// If it does not, fail the request [and do not create a new file]. /// FILE_OPEN = 0x0001, /// - /// If the file already exists, the operation MUST fail. - /// If the file does not already exist, it SHOULD be created. + /// If the file already exists, fail the request [and do not create or open the given file]. + /// If it does not, create the given file. /// FILE_CREATE = 0x0002, /// - /// If the file already exists, it SHOULD be opened. - /// If the file does not already exist, then it SHOULD be created. - /// This value is equivalent to (FILE_OPEN | FILE_CREATE). + /// If the file already exists, open it. + /// If it does not, create the given file. /// FILE_OPEN_IF = 0x0003, /// - /// If the file already exists, it SHOULD be opened and truncated. - /// If the file does not already exist, the operation MUST fail. - /// The client MUST open the file with at least GENERIC_WRITE access for the command to succeed. + /// If the file already exists, open it and overwrite it. + /// If it does not, fail the request. /// FILE_OVERWRITE = 0x0004, /// - /// If the file already exists, it SHOULD be opened and truncated. - /// If the file does not already exist, it SHOULD be created. - /// The client MUST open the file with at least GENERIC_WRITE access. + /// If the file already exists, open it and overwrite it. + /// If it does not, create the given file. /// FILE_OVERWRITE_IF = 0x0005, }