FindNextProjectFile

The FindNextProjectFile function continues a file search from a previous call to the FindFirstProjectFile function.

Syntax

BOOL FindNextProjectFile(
  HANDLE hHandle, 
  LPWIN32_FIND_DATA lpFindProjData 
);

Parameters

  • hHandle
    [in] Handle to the first project file as returned by a previous call to the FindFirstProjectFile function.
  • lpFindProjData
    [out] Long pointer to the WIN32_FIND_DATA structure that receives information about the found file or subdirectory.

Return Values

If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError. If no matching files can be found, the GetLastError function returns ERROR_NO_MORE_FILES.

Remarks

The FindNextProjectFile function searches for files by name only; it cannot be used for attribute-based searches.

FindNextProjectFile is the Windows Mobile replacement for the Windows CE function FindNextFile.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: projects.h
Library: note_prj.lib

See Also

FindNextFile and GetLastError in the Microsoft Windows CE .NET 4.2 help system.

File and Application Management API Functions

FindFirstFlashCard

FindFirstProjectFile

FindNextFlashCard

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.