FindFirstFlashCard

Send Feedback

The FindFirstFlashCard 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 CE WIN32_FIND_DATA structure that represents the mountable file system.

Return Values

A handle to the first flash card indicates success. If the function fails, the return value is INVALID_HANDLE_VALUE.

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 target device. After you locate a flash card, use the returned handle in EnumProjectsEx, EnumProjectsFilesEx, FindFirstProjectFile, and FindNextProjectFile. When you are finished using the handle, close it by calling the Windows CE FindClose function.

Requirements

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

See Also

WIN32_FIND_DATA and FindClose in the Microsoft Windows CE .NET 4.2 help system.

EnumProjectsEx | EnumProjectsFilesEx | File and Application Management Functions | FindFirstProjectFile | FindNextFlashCard | FindNextProjectFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.