FindFirstFlashCard

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_DATA structure 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 hFlashCard parameter of the FindNextFlashCard function. Use FindNextFlashCard if 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 FindNextProjectFile functions. When you are finished using the handle, close it by calling the Windows Embedded CE FindClose function.

Requirements

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

See Also

Reference

File and Application Management Functions
EnumProjectsEx
EnumProjectsFilesEx
FindFirstProjectFile
FindNextFlashCard
FindNextProjectFile