Remove one CreateFileW (#18732)

This commit is contained in:
Ilya
2022-12-06 23:36:47 +05:00
committed by GitHub
parent bd6edfdd9c
commit 67a78d3004
@@ -678,16 +678,6 @@ namespace System.Management.Automation
internal static readonly uint RESUME_THREAD_FAILED = System.UInt32.MaxValue; // (DWORD)-1
[DllImport(PinvokeDllNames.CreateFileDllName, CharSet = CharSet.Unicode, SetLastError = true)]
public static extern System.IntPtr CreateFileW(
[In, MarshalAs(UnmanagedType.LPWStr)] string lpFileName,
UInt32 dwDesiredAccess,
UInt32 dwShareMode,
SECURITY_ATTRIBUTES lpSecurityAttributes,
UInt32 dwCreationDisposition,
UInt32 dwFlagsAndAttributes,
System.IntPtr hTemplateFile);
#endif
#endregion