Load_AlreadyInstalled

This function determines whether the application has already been installed on a device.

At a Glance

Header file: Ppcload.h
Windows CE versions: 1.0 and 1.01

Syntax

BOOL Load_AlreadyInstalled(LPSTR lpszAppName);

Parameters

lpszAppName

Long pointer to null-terminated string passed in to the Load_AlreadyInstalled function with the name of the application.

Return Values

TRUE indicates that the application is currently installed, or an error occurred. FALSE indicates that the application is not currently installed.

Remarks

The Load_AlreadyInstalled function requires a prior successful call to the Load_Init function.

Load_AlreadyInstalled is exported by Ppcload.dll, which runs on the desktop computer—it is intended to be called from a setup program.

If an error occurred during this function, it returns TRUE, so that the caller can prevent accidental overwriting.

The application must have been installed using the Application Loader before this function acknowledges that it has been installed. If the application was put on the device using the H/PC, Palm-size PC Explorer drag-and-drop method, Load_AlreadyInstalled will not find the application.

This function is not supported on Windows CE versions 2.0 and later. For more information on installing applications for versions 2.0 and later, see Connection Services.

See Also

Load_Init