SetInternalUI Method (uiOptions, windowHandle)

DTF API

Copy image CopyHover image
Deployment Tools Foundation SetInternalUI Method (uiOptions, windowHandle)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerSetInternalUI(InstallUIOptions, IntPtr%)
Enables the installer's internal user interface. Then this user interface is used for all subsequent calls to user-interface-generating installer functions in this process.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static InstallUIOptions SetInternalUI(
	InstallUIOptions uiOptions,
	ref IntPtr windowHandle
)
Public Shared Function SetInternalUI ( 
	uiOptions As InstallUIOptions,
	ByRef windowHandle As IntPtr
) As InstallUIOptions
public:
static InstallUIOptions SetInternalUI(
	InstallUIOptions uiOptions, 
	IntPtr% windowHandle
)
static member SetInternalUI : 
        uiOptions : InstallUIOptions * 
        windowHandle : IntPtr byref -> InstallUIOptions 
Parameters
uiOptions (InstallUIOptions)
Specifies the level of complexity of the user interface
windowHandle (IntPtr%)
Handle to a window, which becomes the owner of any user interface created. A pointer to the previous owner of the user interface is returned.
Return Value
InstallUIOptions
The previous user interface level
Remarks

Win32 MSI API: MsiSetInternalUI

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)