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

◆ FindFirstFile() [1/2]

static Microsoft.Win32.SafeHandles.SafeFindHandle Interop.Kernel32.FindFirstFile ( string fileName,
ref WIN32_FIND_DATA data )
inlinestaticpackage

Definition at line 117 of file Interop.cs.

118 {
120 return FindFirstFileExPrivate(fileName, FINDEX_INFO_LEVELS.FindExInfoBasic, ref data, FINDEX_SEARCH_OPS.FindExSearchNameMatch, IntPtr.Zero, 0);
121 }
static Microsoft.Win32.SafeHandles.SafeFindHandle FindFirstFileExPrivate(string lpFileName, FINDEX_INFO_LEVELS fInfoLevelId, ref WIN32_FIND_DATA lpFindFileData, FINDEX_SEARCH_OPS fSearchOp, IntPtr lpSearchFilter, int dwAdditionalFlags)
static string EnsureExtendedPrefixIfNeeded(string path)
static readonly IntPtr Zero
Definition IntPtr.cs:18

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

Referenced by System.IO.FileSystem.FillAttributeInfo(), System.IO.FileSystem.GetFindData(), and System.IO.FileSystem.RemoveDirectoryRecursive().