コード例 #1
0
 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));
 }
コード例 #2
0
 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);
コード例 #3
0
ファイル: Interop.CreateFile2.cs プロジェクト: ywscr/coreclr
 internal static extern unsafe SafeFileHandle CreateFile2(
     string lpFileName,
     int dwDesiredAccess,
     System.IO.FileShare dwShareMode,
     System.IO.FileMode dwCreationDisposition,
     CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams);
コード例 #4
0
 internal static extern unsafe Win32Handle CreateFile2(string lpFileName,
                                                       FileAccess dwDesiredAccess, FileShare dwShareMode,
                                                       CreationDisposition dwCreationDisposition, CREATEFILE2_EXTENDED_PARAMETERS *pCreateExParams);