nerdbank-gitversioning 3.4.228 → 3.4.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/nbgv.cli/tools/netcoreapp2.1/any/Microsoft.Build.Framework.dll +0 -0
  2. package/nbgv.cli/tools/netcoreapp2.1/any/Microsoft.Build.dll +0 -0
  3. package/nbgv.cli/tools/netcoreapp2.1/any/Microsoft.Web.XmlTransform.dll +0 -0
  4. package/nbgv.cli/tools/netcoreapp2.1/any/NerdBank.GitVersioning.dll +0 -0
  5. package/nbgv.cli/tools/netcoreapp2.1/any/NerdBank.GitVersioning.pdb +0 -0
  6. package/nbgv.cli/tools/netcoreapp2.1/any/NerdBank.GitVersioning.xml +41 -29
  7. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Commands.dll +0 -0
  8. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Common.dll +0 -0
  9. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Configuration.dll +0 -0
  10. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Credentials.dll +0 -0
  11. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.DependencyResolver.Core.dll +0 -0
  12. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Frameworks.dll +0 -0
  13. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.LibraryModel.dll +0 -0
  14. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.PackageManagement.dll +0 -0
  15. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Packaging.dll +0 -0
  16. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.ProjectModel.dll +0 -0
  17. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Protocol.dll +0 -0
  18. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Resolver.dll +0 -0
  19. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Versioning.dll +0 -0
  20. package/nbgv.cli/tools/netcoreapp2.1/any/System.Collections.Immutable.dll +0 -0
  21. package/nbgv.cli/tools/netcoreapp2.1/any/System.ComponentModel.Composition.dll +0 -0
  22. package/nbgv.cli/tools/netcoreapp2.1/any/System.Security.AccessControl.dll +0 -0
  23. package/nbgv.cli/tools/netcoreapp2.1/any/System.Security.Cryptography.Pkcs.dll +0 -0
  24. package/nbgv.cli/tools/netcoreapp2.1/any/System.Security.Cryptography.ProtectedData.dll +0 -0
  25. package/nbgv.cli/tools/netcoreapp2.1/any/System.Security.Permissions.dll +0 -0
  26. package/nbgv.cli/tools/netcoreapp2.1/any/System.Security.Principal.Windows.dll +0 -0
  27. package/nbgv.cli/tools/netcoreapp2.1/any/nbgv.deps.json +495 -503
  28. package/nbgv.cli/tools/netcoreapp2.1/any/nbgv.dll +0 -0
  29. package/nbgv.cli/tools/netcoreapp2.1/any/nbgv.pdb +0 -0
  30. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll +0 -0
  31. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll +0 -0
  32. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/win/lib/netcoreapp2.1/System.Security.Cryptography.Pkcs.dll +0 -0
  33. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll +0 -0
  34. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  35. package/package.json +45 -69
  36. package/nbgv.cli/tools/netcoreapp2.1/any/NuGet.Packaging.Core.dll +0 -0
  37. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/unix/lib/netstandard1.3/System.Security.Cryptography.ProtectedData.dll +0 -0
  38. package/nbgv.cli/tools/netcoreapp2.1/any/runtimes/win/lib/netstandard1.3/System.Security.Cryptography.ProtectedData.dll +0 -0
@@ -2533,6 +2533,11 @@
2533
2533
  Gets the position in a computed version that the version height should appear.
2534
2534
  </summary>
2535
2535
  </member>
2536
+ <member name="P:Nerdbank.GitVersioning.SemanticVersion.GitCommitIdPosition">
2537
+ <summary>
2538
+ Gets the position in a computed version that the first 16 bits of a git commit ID should appear, if any.
2539
+ </summary>
2540
+ </member>
2536
2541
  <member name="P:Nerdbank.GitVersioning.SemanticVersion.IsDefault">
2537
2542
  <summary>
2538
2543
  Gets a value indicating whether this instance is the default "0.0" instance.
@@ -2594,6 +2599,13 @@
2594
2599
  <param name="versionHeightPosition">The position within the version where height is tracked.</param>
2595
2600
  <returns><c>true</c> if transitioning from one version to the next should reset the version height; <c>false</c> otherwise.</returns>
2596
2601
  </member>
2602
+ <member name="M:Nerdbank.GitVersioning.SemanticVersion.IsMatchingVersion(System.Version)">
2603
+ <summary>
2604
+ Checks whether a given version may have been produced by this semantic version.
2605
+ </summary>
2606
+ <param name="version">The version to test.</param>
2607
+ <returns><see langword="true"/> if the <paramref name="version"/> is a match; <see langword="false"/> otherwise.</returns>
2608
+ </member>
2597
2609
  <member name="M:Nerdbank.GitVersioning.SemanticVersion.Contains(System.Version)">
2598
2610
  <summary>
2599
2611
  Checks whether a particular version number
@@ -3214,7 +3226,7 @@
3214
3226
  </member>
3215
3227
  <member name="P:Nerdbank.GitVersioning.VersionOptions.AssemblyVersionOptions.Version">
3216
3228
  <summary>
3217
- Gets or sets the major.minor components of the assembly version.
3229
+ Gets or sets the components of the assembly version (2-4 components).
3218
3230
  </summary>
3219
3231
  </member>
3220
3232
  <member name="P:Nerdbank.GitVersioning.VersionOptions.AssemblyVersionOptions.Precision">
@@ -4017,7 +4029,7 @@
4017
4029
  <member name="T:Windows.Win32.System.SystemServices.SECURITY_ATTRIBUTES">
4018
4030
  <summary>The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.</summary>
4019
4031
  <remarks>
4020
- <para><see href = "https://docs.microsoft.com/windows/win32/api//wtypesbase/ns-wtypesbase-security_attributes#">Read more on docs.microsoft.com</see>.</para>
4032
+ <para><see href="https://docs.microsoft.com/windows/win32/api//wtypesbase/ns-wtypesbase-security_attributes#">Read more on docs.microsoft.com</see>.</para>
4021
4033
  </remarks>
4022
4034
  </member>
4023
4035
  <member name="F:Windows.Win32.System.SystemServices.SECURITY_ATTRIBUTES.nLength">
@@ -4026,7 +4038,7 @@
4026
4038
  <member name="F:Windows.Win32.System.SystemServices.SECURITY_ATTRIBUTES.lpSecurityDescriptor">
4027
4039
  <summary>
4028
4040
  <para>A pointer to a [**SECURITY\_DESCRIPTOR**](../winnt/ns-winnt-security_descriptor.md) structure that controls access to the object. If the value of this member is **NULL**, the object is assigned the default security descriptor associated with the [*access token*](/windows/win32/secauthz/access-tokens) of the calling process. This is not the same as granting access to everyone by assigning a **NULL** [*discretionary access control list*](/windows/win32/secauthz/dacls-and-aces) (DACL). By default, the default DACL in the access token of a process allows access only to the user represented by the access token. For information about creating a security descriptor, see [Creating a Security Descriptor](/windows/win32/secauthz/creating-a-security-descriptor-for-a-new-object-in-c--).</para>
4029
- <para><see href = "https://docs.microsoft.com/windows/win32/api//wtypesbase/ns-wtypesbase-security_attributes#members">Read more on docs.microsoft.com</see>.</para>
4041
+ <para><see href="https://docs.microsoft.com/windows/win32/api//wtypesbase/ns-wtypesbase-security_attributes#members">Read more on docs.microsoft.com</see>.</para>
4030
4042
  </summary>
4031
4043
  </member>
4032
4044
  <member name="F:Windows.Win32.System.SystemServices.SECURITY_ATTRIBUTES.bInheritHandle">
@@ -4049,9 +4061,9 @@
4049
4061
  </member>
4050
4062
  <member name="M:Windows.Win32.System.SystemServices.PCWSTR.ToString">
4051
4063
  <summary>
4052
- Returns a <see langword = "string"/> with a copy of this character array.
4064
+ Returns a <see langword="string"/> with a copy of this character array.
4053
4065
  </summary>
4054
- <returns>A <see langword = "string"/>, or <see langword = "null"/> if <see cref = "F:Windows.Win32.System.SystemServices.PCWSTR.Value"/> is <see langword = "null"/>.</returns>
4066
+ <returns>A <see langword="string"/>, or <see langword="null"/> if <see cref = "F:Windows.Win32.System.SystemServices.PCWSTR.Value"/> is <see langword="null"/>.</returns>
4055
4067
  </member>
4056
4068
  <member name="M:Windows.Win32.System.SystemServices.PCWSTR.AsSpan">
4057
4069
  <summary>
@@ -4068,11 +4080,11 @@
4068
4080
  <param name = "hObject">A valid handle to an open object.</param>
4069
4081
  <returns>
4070
4082
  <para>If the function succeeds, the return value is nonzero.</para>
4071
- <para>If the function fails, the return value is zero. To get extended error information, call <a href = "/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
4072
- <para>If the application is running under a debugger, the function will throw an exception if it receives either a handle value that is not valid or a pseudo-handle value. This can happen if you close a handle twice, or if you call <b>CloseHandle</b> on a handle returned by the <a href = "/windows/desktop/api/fileapi/nf-fileapi-findfirstfilea">FindFirstFile</a> function instead of calling the <a href = "/windows/desktop/api/fileapi/nf-fileapi-findclose">FindClose</a> function.</para>
4083
+ <para>If the function fails, the return value is zero. To get extended error information, call <a href="/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
4084
+ <para>If the application is running under a debugger, the function will throw an exception if it receives either a handle value that is not valid or a pseudo-handle value. This can happen if you close a handle twice, or if you call <b>CloseHandle</b> on a handle returned by the <a href="/windows/desktop/api/fileapi/nf-fileapi-findfirstfilea">FindFirstFile</a> function instead of calling the <a href="/windows/desktop/api/fileapi/nf-fileapi-findclose">FindClose</a> function.</para>
4073
4085
  </returns>
4074
4086
  <remarks>
4075
- <para><see href = "https://docs.microsoft.com/windows/win32/api//handleapi/nf-handleapi-closehandle">Learn more about this API from docs.microsoft.com</see>.</para>
4087
+ <para><see href="https://docs.microsoft.com/windows/win32/api//handleapi/nf-handleapi-closehandle">Learn more about this API from docs.microsoft.com</see>.</para>
4076
4088
  </remarks>
4077
4089
  </member>
4078
4090
  <member name="M:Windows.Win32.PInvoke.CreateFile(System.String,Windows.Win32.Storage.FileSystem.FILE_ACCESS_FLAGS,Windows.Win32.Storage.FileSystem.FILE_SHARE_MODE,System.Nullable{Windows.Win32.System.SystemServices.SECURITY_ATTRIBUTES},Windows.Win32.Storage.FileSystem.FILE_CREATION_DISPOSITION,Windows.Win32.Storage.FileSystem.FILE_FLAGS_AND_ATTRIBUTES,System.Runtime.InteropServices.SafeHandle)">
@@ -4082,67 +4094,67 @@
4082
4094
  <summary>Creates or opens a file or I/O device. The most commonly used I/O devices are as follows:\_file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.</summary>
4083
4095
  <param name = "lpFileName">
4084
4096
  <para>The name of the file or device to be created or opened. You may use either forward slashes (/) or backslashes (\\) in this name.</para>
4085
- <para>In the ANSI version of this function, the name is limited to <b>MAX_PATH</b> characters. To extend this limit to 32,767 wide characters, use this Unicode version of the function and prepend "\\\\?\\" to the path. For more information, see <a href = "https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a>.</para>
4086
- <para>For information on special device names, see <a href = "https://docs.microsoft.com/windows/desktop/FileIO/defining-an-ms-dos-device-name">Defining an MS-DOS Device Name</a>.</para>
4087
- <para>To create a file stream, specify the name of the file, a colon, and then the name of the stream. For more information, see <a href = "https://docs.microsoft.com/windows/desktop/FileIO/file-streams">File Streams</a>.</para>
4088
- <para><div class = "alert"><b>Tip</b> Starting with Windows 10, version 1607, for the unicode version of this function (<b>CreateFileW</b>), you can opt-in to remove the <b>MAX_PATH</b> limitation without prepending "\\?\". See the "Maximum Path Length Limitation" section of <a href = "https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a> for details.</div> <div> </div></para>
4089
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4097
+ <para>In the ANSI version of this function, the name is limited to <b>MAX_PATH</b> characters. To extend this limit to 32,767 wide characters, use this Unicode version of the function and prepend "\\\\?\\" to the path. For more information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a>.</para>
4098
+ <para>For information on special device names, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/defining-an-ms-dos-device-name">Defining an MS-DOS Device Name</a>.</para>
4099
+ <para>To create a file stream, specify the name of the file, a colon, and then the name of the stream. For more information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-streams">File Streams</a>.</para>
4100
+ <para><div class="alert"><b>Tip</b> Starting with Windows 10, version 1607, for the unicode version of this function (<b>CreateFileW</b>), you can opt-in to remove the <b>MAX_PATH</b> limitation without prepending "\\?\". See the "Maximum Path Length Limitation" section of <a href="https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a> for details.</div> <div> </div></para>
4101
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4090
4102
  </param>
4091
4103
  <param name = "dwDesiredAccess">
4092
4104
  <para>The requested access to the file or device, which can be summarized as read, write, both or neither zero).</para>
4093
- <para>The most commonly used values are <b>GENERIC_READ</b>, <b>GENERIC_WRITE</b>, or both (<c>GENERIC_READ | GENERIC_WRITE</c>). For more information, see <a href = "https://docs.microsoft.com/windows/desktop/SecAuthZ/generic-access-rights">Generic Access Rights</a>, <a href = "https://docs.microsoft.com/windows/desktop/FileIO/file-security-and-access-rights">File Security and Access Rights</a>, <a href = "https://docs.microsoft.com/windows/desktop/FileIO/file-access-rights-constants">File Access Rights Constants</a>, and <a href = "https://docs.microsoft.com/windows/desktop/SecAuthZ/access-mask">ACCESS_MASK</a>.</para>
4105
+ <para>The most commonly used values are <b>GENERIC_READ</b>, <b>GENERIC_WRITE</b>, or both (<c>GENERIC_READ | GENERIC_WRITE</c>). For more information, see <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/generic-access-rights">Generic Access Rights</a>, <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-security-and-access-rights">File Security and Access Rights</a>, <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-access-rights-constants">File Access Rights Constants</a>, and <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/access-mask">ACCESS_MASK</a>.</para>
4094
4106
  <para>If this parameter is zero, the application can query certain metadata such as file, directory, or device attributes without accessing that file or device, even if <b>GENERIC_READ</b> access would have been denied.</para>
4095
4107
  <para>You cannot request an access mode that conflicts with the sharing mode that is specified by the <i>dwShareMode</i> parameter in an open request that already has an open handle.</para>
4096
- <para>For more information, see the Remarks section of this topic and <a href = "https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</para>
4097
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4108
+ <para>For more information, see the Remarks section of this topic and <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</para>
4109
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4098
4110
  </param>
4099
4111
  <param name = "dwShareMode">
4100
4112
  <para>The requested sharing mode of the file or device, which can be read, write, both, delete, all of these, or none (refer to the following table). Access requests to attributes or extended attributes are not affected by this flag.</para>
4101
4113
  <para>If this parameter is zero and <b>CreateFile</b> succeeds, the file or device cannot be shared and cannot be opened again until the handle to the file or device is closed. For more information, see the Remarks section.</para>
4102
- <para>You cannot request a sharing mode that conflicts with the access mode that is specified in an existing request that has an open handle. <b>CreateFile</b> would fail and the <a href = "https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a> function would return <b>ERROR_SHARING_VIOLATION</b>.</para>
4114
+ <para>You cannot request a sharing mode that conflicts with the access mode that is specified in an existing request that has an open handle. <b>CreateFile</b> would fail and the <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a> function would return <b>ERROR_SHARING_VIOLATION</b>.</para>
4103
4115
  <para>To enable a process to share a file or device while another process has the file or device open, use a</para>
4104
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4116
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4105
4117
  </param>
4106
4118
  <param name = "lpSecurityAttributes">
4107
- <para>A pointer to a <a href = "https://docs.microsoft.com/previous-versions/windows/desktop/legacy/aa379560(v=vs.85)">SECURITY_ATTRIBUTES</a> structure that contains two separate but related data members: an optional security descriptor, and a Boolean value that determines whether the returned handle can be inherited by child processes.</para>
4119
+ <para>A pointer to a <a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/aa379560(v=vs.85)">SECURITY_ATTRIBUTES</a> structure that contains two separate but related data members: an optional security descriptor, and a Boolean value that determines whether the returned handle can be inherited by child processes.</para>
4108
4120
  <para>This parameter can be <b>NULL</b>.</para>
4109
4121
  <para>If this parameter is <b>NULL</b>, the handle returned by <b>CreateFile</b> cannot be inherited by any child processes the application may create and the file or device associated with the returned handle gets a default security descriptor.</para>
4110
- <para>The <b>lpSecurityDescriptor</b> member of the structure specifies a <a href = "https://docs.microsoft.com/windows/desktop/api/winnt/ns-winnt-security_descriptor">SECURITY_DESCRIPTOR</a> for a file or device. If this member is <b>NULL</b>, the file or device associated with the returned handle is assigned a default security descriptor.</para>
4122
+ <para>The <b>lpSecurityDescriptor</b> member of the structure specifies a <a href="https://docs.microsoft.com/windows/desktop/api/winnt/ns-winnt-security_descriptor">SECURITY_DESCRIPTOR</a> for a file or device. If this member is <b>NULL</b>, the file or device associated with the returned handle is assigned a default security descriptor.</para>
4111
4123
  <para><b>CreateFile</b> ignores the <b>lpSecurityDescriptor</b> member when opening an existing file or device, but continues to use the <b>bInheritHandle</b> member.</para>
4112
4124
  <para>The <b>bInheritHandle</b>member of the structure specifies whether the returned handle can be inherited.</para>
4113
4125
  <para>For more information, see the Remarks section.</para>
4114
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4126
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4115
4127
  </param>
4116
4128
  <param name = "dwCreationDisposition">
4117
4129
  <para>An action to take on a file or device that exists or does not exist.</para>
4118
4130
  <para>For devices other than files, this parameter is usually set to <b>OPEN_EXISTING</b>.</para>
4119
4131
  <para>For more information, see the Remarks section.</para>
4120
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4132
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4121
4133
  </param>
4122
4134
  <param name = "dwFlagsAndAttributes">
4123
- <para>The file or device attributes and flags, <b>FILE_ATTRIBUTE_NORMAL</b> being the most common default value for files. This parameter can include any combination of the available file attributes (<b>FILE_ATTRIBUTE_*</b>). All other file attributes override <b>FILE_ATTRIBUTE_NORMAL</b>. This parameter can also contain combinations of flags (<b>FILE_FLAG_*</b>) for control of file or device caching behavior, access modes, and other special-purpose flags. These combine with any <b>FILE_ATTRIBUTE_*</b> values. This parameter can also contain Security Quality of Service (SQOS) information by specifying the <b>SECURITY_SQOS_PRESENT</b> flag. Additional SQOS-related flags information is presented in the table following the attributes and flags tables. <div class = "alert"><b>Note</b> When <b>CreateFile</b> opens an existing file, it generally combines the file flags with the file attributes of the existing file, and ignores any file attributes supplied as part of <i>dwFlagsAndAttributes</i>. Special cases are detailed in <a href = "https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</div> <div> </div> Some of the following file attributes and flags may only apply to files and not necessarily all other types of devices that <b>CreateFile</b> can open. For additional information, see the Remarks section of this topic and <a href = "https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>. For more advanced access to file attributes, see <a href = "https://docs.microsoft.com/windows/desktop/api/fileapi/nf-fileapi-setfileattributesa">SetFileAttributes</a>. For a complete list of all file attributes with their values and descriptions, see <a href = "https://docs.microsoft.com/windows/desktop/FileIO/file-attribute-constants">File Attribute Constants</a>. </para>
4135
+ <para>The file or device attributes and flags, <b>FILE_ATTRIBUTE_NORMAL</b> being the most common default value for files. This parameter can include any combination of the available file attributes (<b>FILE_ATTRIBUTE_*</b>). All other file attributes override <b>FILE_ATTRIBUTE_NORMAL</b>. This parameter can also contain combinations of flags (<b>FILE_FLAG_*</b>) for control of file or device caching behavior, access modes, and other special-purpose flags. These combine with any <b>FILE_ATTRIBUTE_*</b> values. This parameter can also contain Security Quality of Service (SQOS) information by specifying the <b>SECURITY_SQOS_PRESENT</b> flag. Additional SQOS-related flags information is presented in the table following the attributes and flags tables. <div class="alert"><b>Note</b> When <b>CreateFile</b> opens an existing file, it generally combines the file flags with the file attributes of the existing file, and ignores any file attributes supplied as part of <i>dwFlagsAndAttributes</i>. Special cases are detailed in <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</div> <div> </div> Some of the following file attributes and flags may only apply to files and not necessarily all other types of devices that <b>CreateFile</b> can open. For additional information, see the Remarks section of this topic and <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>. For more advanced access to file attributes, see <a href="https://docs.microsoft.com/windows/desktop/api/fileapi/nf-fileapi-setfileattributesa">SetFileAttributes</a>. For a complete list of all file attributes with their values and descriptions, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-attribute-constants">File Attribute Constants</a>. </para>
4124
4136
  <para>This doc was truncated.</para>
4125
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4137
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4126
4138
  </param>
4127
4139
  <param name = "hTemplateFile">
4128
4140
  <para>A valid handle to a template file with the <b>GENERIC_READ</b> access right. The template file supplies file attributes and extended attributes for the file that is being created.</para>
4129
4141
  <para>This parameter can be <b>NULL</b>.</para>
4130
4142
  <para>When opening an existing file, <b>CreateFile</b> ignores this parameter.</para>
4131
- <para>When opening a new encrypted file, the file inherits the discretionary access control list from its parent directory. For additional information, see <a href = "https://docs.microsoft.com/windows/desktop/FileIO/file-encryption">File Encryption</a>.</para>
4132
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4143
+ <para>When opening a new encrypted file, the file inherits the discretionary access control list from its parent directory. For additional information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-encryption">File Encryption</a>.</para>
4144
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew#parameters">Read more on docs.microsoft.com</see>.</para>
4133
4145
  </param>
4134
4146
  <returns>
4135
4147
  <para>If the function succeeds, the return value is an open handle to the specified file, device, named pipe, or mail slot.</para>
4136
- <para>If the function fails, the return value is <b>INVALID_HANDLE_VALUE</b>. To get extended error information, call <a href = "/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
4148
+ <para>If the function fails, the return value is <b>INVALID_HANDLE_VALUE</b>. To get extended error information, call <a href="/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
4137
4149
  </returns>
4138
4150
  <remarks>
4139
- <para><see href = "https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew">Learn more about this API from docs.microsoft.com</see>.</para>
4151
+ <para><see href="https://docs.microsoft.com/windows/win32/api//fileapi/nf-fileapi-createfilew">Learn more about this API from docs.microsoft.com</see>.</para>
4140
4152
  </remarks>
4141
4153
  </member>
4142
4154
  <member name="F:Windows.Win32.Constants.INVALID_HANDLE_VALUE">
4143
4155
  <summary>There is no interactive user. The trust provider performs the verification action without the user's assistance.</summary>
4144
4156
  <remarks>
4145
- <para><see href = "https://docs.microsoft.com/windows/win32/api//wintrust/nf-wintrust-winverifytrustex">Learn more about this API from docs.microsoft.com</see>.</para>
4157
+ <para><see href="https://docs.microsoft.com/windows/win32/api//wintrust/nf-wintrust-winverifytrustex">Learn more about this API from docs.microsoft.com</see>.</para>
4146
4158
  </remarks>
4147
4159
  </member>
4148
4160
  </members>