Share via


File and Application Management API Functions

This section provides detailed information about the Windows Mobile-based File Management API functions described in the following table.

Function Description
EnumProjectsEx Enumerates all projects in main memory or on the specified mountable file system.
EnumProjectsExCallback Application-defined callback function that processes data from the EnumProjectsEx function.
EnumProjectsFilesEx Enumerates files within a folder or all folders in main memory or on a mountable file system.
EnumProjectsFilesExCallback Application-defined callback function that processes data from the EnumProjectsFilesEx function.
FindFirstFlashCard Returns the handle to the first mountable file system, such as a flash card.
FindFirstProjectFile Searches a directory for a file whose name matches the specified file name.
FindNextFlashCard Finds the next mountable file system.
FindNextProjectFile Continues a file search from a previous call to the FindFirstProjectFile function.
Install_Exit Called after an application is installed. Used for custom operations, such as handling errors that occurred during installation or launching of the application.
Install_Init Called before application installation begins. Used for custom operations, such as checking an application version for application re-installation or determining whether a dependent application is present.
Uninstall_Exit Called after an application is uninstalled. Used for custom operations such as saving database data into a file and deleting the database, informing the user where the user data files are stored, or informing the user how to reinstall the application.
Uninstall_Init Called before an application is uninstalled. Used for custom operations such as closing the application if it is running.

Remarks

Note   Reinstalling an application on SmartPhone devices causes the application to first be uninstalled. No state or user data is preserved when an application is reinstalled. This applies only to SmartPhone.

See Also

File and Application Management API Enumerations

File and Application Management API Structures

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.