Uninstall_Init

This function prototype is called before the uninstallation begins. This function can be used for custom operations such as closing the application if it is running.

codeUNINSTALL_INIT Uninstall_Init(
HWND hwndParent, 
LPCTSTR pszInstallDir);

Parameters

  • hwndParent
    Handle to the parent window.
  • pszInstallDir
    Null-terminated string that contains the name of the install directory of the application.

Return Values

  • codeUNINSTALL_INIT_CONTINUE
    Continue with uninstallation.
  • codeUNINSTALL_INIT_CANCEL
    Cancel uninstallation.

Remarks

The Uninstall_Init function prototype is part of Setup.dll, an ISV-created file for custom operations dealing with installation and uninstallation of applications.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS   Ce_setup.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.