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

◆ CreateFile_IntPtr()

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

Definition at line 768 of file Interop.cs.

769 {
770 lpFileName = PathInternal.EnsureExtendedPrefixIfNeeded(lpFileName);
771 return CreateFilePrivate_IntPtr(lpFileName, dwDesiredAccess, dwShareMode, null, dwCreationDisposition, dwFlagsAndAttributes, IntPtr.Zero);
772 }
static unsafe IntPtr CreateFilePrivate_IntPtr(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_IntPtr(), System.IO.PathInternal.EnsureExtendedPrefixIfNeeded(), and System.IntPtr.Zero.

Referenced by System.IO.Enumeration.FileSystemEnumerator< TResult >.CreateDirectoryHandle().