コード例 #1
0
		/// <summary>
		/// Find the next file system entity matching the search string.
		/// </summary>
		/// <param name="hFind">Handle from a successful call to FindFirstFile</param>
		/// <param name="lpFindFileData">Receives the found entity's data</param>
		/// <returns>0 on success, GetLastError otherwise, check against ERROR_NO_MORE_FILES</returns>
        public static int FindNextFile(IntPtr hFind, out WIN32_FIND_DATA lpFindFileData)
        {
            return m_fileSystemIo.FindNextFile(hFind, out lpFindFileData);
        }
コード例 #2
0
		/// <summary>
		/// Finds the first file system entity whose name matches, and gets a handle for subsequent matches.
		/// </summary>
		/// <param name="lpFileName">The path\name\filter string to match on</param>
		/// <param name="lpFindFileData">Receives the found entity's data</param>
		/// <param name="hFind">Receives a handle for subsequent searches, or INVALID_HANDLE_VALUE on failure</param>
		/// <returns>0 on success, GetLastError otherwise</returns>
        public static int FindFirstFile(string lpFileName, out WIN32_FIND_DATA lpFindFileData, out IntPtr hFind)
        {
            return m_fileSystemIo.FindFirstFile(lpFileName, out lpFindFileData, out hFind);
        }
コード例 #3
0
 internal DirectoryInfo(String path, WIN32_FIND_DATA data)
     : base(path,data)
 {
 }
コード例 #4
0
ファイル: FileInfo.cs プロジェクト: strnguv/marketplaceconfig
 internal FileInfo(String path, WIN32_FIND_DATA data)
     : base(path, data)
 {
 }
コード例 #5
0
 internal FileSystemInfo(String path, WIN32_FIND_DATA data)
 {
     _path = path;
     _data = data;
 }
コード例 #6
0
 internal FileSystemInfo(String path, WIN32_FIND_DATA data)
 {
     _path = path;
     _data = data;
 }