MsiPreviewDialogA function

The MsiPreviewDialog function displays a dialog box as modeless and inactive.

Syntax

UINT MsiPreviewDialogA(
  MSIHANDLE hPreview,
  LPCSTR    szDialogName
);

Parameters

hPreview

Handle to the preview.

szDialogName

Specifies the name of the dialog box to preview.

Return Value

This function returns UINT.

Remarks

Supplying a null name in the MsiPreviewDialog function removes any current dialog box.

Requirements

   
Minimum supported client Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
Target Platform Windows
Header msiquery.h
Library Msi.lib
DLL Msi.dll

See Also

User Interface Functions