Uninstall_Init (Windows CE 5.0)

Send Feedback

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

Uninstall_Init is developer-written, using the specified prototype for compatibility.

codeUNINSTALL_INITUninstall_Init(HWNDhwndParent,LPCTSTRpszInstallDir);

Parameters

  • hwndParent
    [in] Handle to the parent window.
  • pszInstallDir
    [in] Pointer to null-terminated string with the name of the installation directory.

Return Values

Returns codeUNINSTALL_INIT_CONTINUE if the function succeeded and uninstallation can continue. Returns codeUNINSTALL_INIT_CANCEL if the operation is to be cancelled.

Remarks

The Uninstall_Init function is part of the application's setup and uninstall program, Setup.dll.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Ce_setup.h.
Link Library: Developer-provided.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.