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

◆ CreateFile() [4/4]

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

Definition at line 735 of file Interop.cs.

736 {
737 lpFileName = PathInternal.EnsureExtendedPrefixIfNeeded(lpFileName);
738 return CreateFilePrivate(lpFileName, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
739 }
static unsafe SafeFileHandle CreateFilePrivate(string lpFileName, int dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES *lpSecurityAttributes, FileMode dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile)
static string EnsureExtendedPrefixIfNeeded(string path)

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