public static extern SafeFindHandle FindFirstFileEx( [MarshalAs(UnmanagedType.LPTStr)] string fileName, [In] FindInfoLevel fInfoLevelId, [In, Out] FindData lpFindFileData, [In] FindSearchOps fSearchOp, IntPtr lpSearchFilter, [In] FindFlags dwAdditionalFlags );
public static extern bool FindNextFile(SafeFindHandle hFindFile, [In, Out] FindData lpFindFileData);
public static extern SafeFindHandle FindFirstFile( [MarshalAs(UnmanagedType.LPTStr)] string fileName, [In, Out] FindData findFileData );