Skip to content

Commit

Permalink
Remove obsolete attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Jan 20, 2021
1 parent 0e99ad8 commit 83a2bce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Shared/Win32/SECUR32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ protected override bool ReleaseHandle()
}

[DllImport("secur32.dll", SetLastError = true)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
[ResourceExposure(ResourceScope.None)]
internal static extern int LsaDeregisterLogonProcess(IntPtr handle);

Expand Down
2 changes: 0 additions & 2 deletions Shared/Win32/User32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,11 +1211,9 @@ protected override bool ReleaseHandle()
}

[return: MarshalAs(UnmanagedType.Bool)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern bool CloseWindowStation(IntPtr hWinsta);

[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
[DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern SafeWindowStationHandle OpenWindowStation([MarshalAs(UnmanagedType.LPTStr)] string lpszWinSta, [MarshalAs(UnmanagedType.Bool)] bool fInherit, ACCESS_MASK dwDesiredAccess);

Expand Down

0 comments on commit 83a2bce

Please sign in to comment.