Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateFile() [2/4]

static unsafe SafeFileHandle Interop.Kernel32.CreateFile ( string lpFileName,
int dwDesiredAccess,
FileShare dwShareMode,
FileMode dwCreationDisposition,
int dwFlagsAndAttributes )
inlinestaticpackage

Definition at line 741 of file Interop.cs.

742 {
743 lpFileName = PathInternal.EnsureExtendedPrefixIfNeeded(lpFileName);
744 return CreateFilePrivate(lpFileName, dwDesiredAccess, dwShareMode, null, dwCreationDisposition, dwFlagsAndAttributes, IntPtr.Zero);
745 }
static unsafe SafeFileHandle CreateFilePrivate(string lpFileName, int dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES *lpSecurityAttributes, FileMode dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile)
static string EnsureExtendedPrefixIfNeeded(string path)
static readonly IntPtr Zero
Definition IntPtr.cs:18

References Interop.Kernel32.CreateFilePrivate(), System.IO.PathInternal.EnsureExtendedPrefixIfNeeded(), and System.IntPtr.Zero.