This function returns the handle to the first mountable file system, such as a flash card.
Header file: | Projects.h |
Windows CE Versions: | 2.01 and later |
HANDLE FindFirstFlashCard(LPWIN32_FIND_DATA lpFindFlashData);
A handle to the first flash card indicates success. If the function fails, the return value is INVALID_HANDLE_VALUE.
The handle returned by this function is used as the hFlashCard parameter of the FindNextFlashCard function. Use FindNextFlashCard if more than one mountable file system possibly exists on the target device. Once you locate a flash card, use the returned handle in EnumProjects, EnumProjectsFiles, FindFirstProjectFile, and FindNextProjectFile. When you are finished using the handle, close it by calling the FindClose function.
EnumProjects, EnumProjectsFiles, FindClose, FindFirstProjectFile, FindNextFlashCard, FindNextProjectFile, WIN32_FIND_DATA