ShutdownEmbeddedUI Callback Function

Windows Installer

ShutdownEmbeddedUI Callback Function

The ShutdownEmbeddedUI function prototype defines a user-defined shutdown function exported by the embedded UI DLL that is defined in the MsiEmbeddedUI table. This function should be called at the end of the installation. After calling this function, the installer sends no additional messages to the embedded UI DLL and you can unload the DLL.

Windows Installer 4.0 and earlier:  Not supported. Available beginning with Windows Installer 4.5.

Syntax

C++DWORD CALLBACK ShutdownEmbeddedUI(void);

Parameters

This callback has no parameters.

Return Value

The return value from this function prototype is 0 in all cases. If a user-defined function returns a non-zero value, the installer writes a message to the log file.

Remarks

For an example of the ShutdownEmbeddedUI function see Using an Embedded UI.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.5 on Windows Vista, Windows XP, Windows Server 2003, and Windows Server 2008
HeaderMsi.h

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.