Compartilhar via


Uninstall_Init

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

A custom installer dll should export the Uninstall_Init. This function will be called before an application is uninstalled. This function can be used for custom operations such as closing the application if it is running. For more information, see Optional Setup.dll Files for Installation.

Syntax

codeUNINSTALL_INIT Uninstall_Init(
  HWND hwndParent,
  LPCTSTR pszInstallDir
);

Parameters

  • hwndParent
    [in] Specifies a handle to the parent window.
  • pszInstallDir
    [in] Reference to a null-terminated string that contains the name of the application installation directory.

Return Value

  • codeUNINSTALL_INIT_CONTINUE
    Continue with uninstalling the application.
  • codeUNINSTALL_INIT_CANCEL
    Cancel uninstalling the application.

Remarks

This function is called during installation once the installation process has been completed.

Requirements

Header ce_setup.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

codeUNINSTALL_INIT
File and Application Management Functions
Uninstall_Exit