The Load_AlreadyInstalled function determines whether the application has already been installed on a device.
BOOL Load_AlreadyInstalled(LPSTR lpszAppName);
Header file: | Ppcload.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and 1.01 |
This function returns one of the following values:
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 PC—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 Explorer drag-and-drop method, Load_AlreadyInstalled will not find the application.
This function is not supported on Windows CE version 2.0. For more information on installing applications for version 2.0, see Installing Applications.