Skip to content

Commit e9f9d50

Browse files
Update Src/DSInternals.SAM/Interop/Enums/NetCancelOptions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7f0b400 commit e9f9d50

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1+
using System;
12
using Windows.Win32.NetworkManagement.WNet;
23

3-
namespace DSInternals.SAM.Interop;
4+
namespace DSInternals.SAM.Interop;
45

5-
/// <summary>
6-
/// Specifies the type of disconnection to perform when calling WNetCancelConnection2.
7-
/// </summary>
8-
/// <see>https://learn.microsoft.com/windows/win32/api/winnetwk/nf-winnetwk-wnetcancelconnection2w</see>
9-
internal enum NetCancelOptions : uint
10-
{
116
/// <summary>
12-
/// The system does not update the user profile with information about the disconnection.
7+
/// Specifies the type of disconnection to perform when calling WNetCancelConnection2.
138
/// </summary>
14-
NoUpdate = 0U,
9+
/// <see>https://learn.microsoft.com/windows/win32/api/winnetwk/nf-winnetwk-wnetcancelconnection2w</see>
10+
[Flags]
11+
internal enum NetCancelOptions : uint
12+
{
13+
/// <summary>
14+
/// The system does not update the user profile with information about the disconnection.
15+
/// </summary>
16+
NoUpdate = 0U,
1517

16-
/// <summary>
17-
/// The system updates the user profile with the information that the connection is no longer a persistent one.
18-
/// </summary>
19-
UpdateProfile = (uint)NET_CONNECT_FLAGS.CONNECT_UPDATE_PROFILE
20-
}
18+
/// <summary>
19+
/// The system updates the user profile with the information that the connection is no longer a persistent one.
20+
/// </summary>
21+
UpdateProfile = (uint)NET_CONNECT_FLAGS.CONNECT_UPDATE_PROFILE
22+
}

0 commit comments

Comments
 (0)