Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The function returns the handle to the first mountable file system, such as a flash card.

Syntax

HANDLE FindFirstFlashCard(
  LPWIN32_FIND_DATA 
lpFindFlashData 
);

Parameters

lpFindFlashData

[out] Long pointer to the Windows Embedded CE WIN32_FIND_DATAstructure that represents the mountable file system.

Return Value

A handle to the first flash card indicates success. INVALID_HANDLE_VALUE indicates failure.

Remarks

The handle returned by this function is used as the hFlashCardparameter of the FindNextFlashCardfunction. Use FindNextFlashCardif more than one mountable file system possibly exists on the device. After you locate a flash card, use the returned handle in the EnumProjectsEx, the EnumProjectsFilesEx, the FindFirstProjectFile, and the FindNextProjectFilefunctions. When you are finished using the handle, close it by calling the Windows Embedded CE FindClosefunction.

Requirements

Header projects.h
Library note_prj.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also