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

◆ FindFirstFile() [2/2]

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

Definition at line 834 of file Interop.cs.

835 {
836 fileName = PathInternal.EnsureExtendedPrefixIfNeeded(fileName);
837 return FindFirstFileExPrivate(fileName, FINDEX_INFO_LEVELS.FindExInfoBasic, ref data, FINDEX_SEARCH_OPS.FindExSearchNameMatch, IntPtr.Zero, 0);
838 }
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.