internal static unsafe SafeFileHandle CreateFile2( string lpFileName, int dwDesiredAccess, System.IO.FileShare dwShareMode, System.IO.FileMode dwCreationDisposition, CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams) { lpFileName = PathInternal.EnsureExtendedPrefixOverMaxPath(lpFileName); return(CreateFile2Private(lpFileName, dwDesiredAccess, dwShareMode, dwCreationDisposition, pCreateExParams)); }
public static extern IntPtr CreateFile2([NativeTypeName("LPCWSTR")] ushort *lpFileName, [NativeTypeName("DWORD")] uint dwDesiredAccess, [NativeTypeName("DWORD")] uint dwShareMode, [NativeTypeName("DWORD")] uint dwCreationDisposition, [NativeTypeName("LPCREATEFILE2_EXTENDED_PARAMETERS")] CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams);
internal static extern unsafe SafeFileHandle CreateFile2( string lpFileName, int dwDesiredAccess, System.IO.FileShare dwShareMode, System.IO.FileMode dwCreationDisposition, CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams);
internal static extern unsafe Win32Handle CreateFile2(string lpFileName, FileAccess dwDesiredAccess, FileShare dwShareMode, CreationDisposition dwCreationDisposition, CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams);