MsiEnableUIPreview

[This is preliminary documentation and subject to change.]

The MsiEnableUIPreview function enables preview mode of the user interface to facilitate authoring of user-interface dialog boxes.

UINT MsiEnableUIPreview(
  MSIHANDLE hDatabase,  // database handle
  MSIHANDLE *phPreview  // returned handle for UI preview capability
);
 

Parameters

hDatabase
Handle to the database.
phPreview
Pointer to a returned handle for user-interface preview capability.

Return Values

ERROR_INVALID_HANDLE
An invalid or inactive handle was supplied.
ERROR_INVALID_PARAMETER
Bad parameter.
ERROR_OUTOFMEMORY
Out of memory.
ERROR_SUCCESS
The function succeeded.

QuickInfo

  Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in msiquery.h.
  Import Library: Use msi.lib.

See Also

Database Access Reference, User Interface Functions