Skip to content

Latest commit

 

History

History
78 lines (63 loc) · 2.65 KB

nf-msiquery-msienableuipreview.md

File metadata and controls

78 lines (63 loc) · 2.65 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msiquery.MsiEnableUIPreview
MsiEnableUIPreview function (msiquery.h)
The MsiEnableUIPreview function enables preview mode of the user interface to facilitate authoring of user-interface dialog boxes. This function returns a handle that should be closed using MsiCloseHandle.
MsiEnableUIPreview
MsiEnableUIPreview function
_msi_msienableuipreview
msiquery/MsiEnableUIPreview
setup.msienableuipreview
setup\msienableuipreview.htm
setup
77df6829-119d-4fe6-96b0-c75381b9de6c
12/05/2018
MsiEnableUIPreview, MsiEnableUIPreview function, _msi_msienableuipreview, msiquery/MsiEnableUIPreview, setup.msienableuipreview
msiquery.h
Windows
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
Msi.lib
Msi.dll
Windows
19H1
MsiEnableUIPreview
msiquery/MsiEnableUIPreview
c++
APIRef
kbSyntax
DllExport
Msi.dll
MsiEnableUIPreview

MsiEnableUIPreview function

-description

The MsiEnableUIPreview function enables preview mode of the user interface to facilitate authoring of user-interface dialog boxes. This function returns a handle that should be closed using MsiCloseHandle.

-parameters

-param hDatabase [in]

Handle to the database.

-param phPreview [out]

Pointer to a returned handle for user-interface preview capability.

-returns

This function returns UINT.

-remarks

Note that it is recommended to use variables of type PMSIHANDLE because the installer closes PMSIHANDLE objects as they go out of scope, whereas you must close MSIHANDLE objects by calling MsiCloseHandle. For more information see Use PMSIHANDLE instead of HANDLE section in the Windows Installer Best Practices.

-see-also

User Interface Functions