SetupSetNonInteractiveMode function (setupapi.h)
The SetupSetNonInteractiveMode function sets a non-interactive SetupAPI flag that determines whether SetupAPI can interact with a user in the caller's context.
Syntax
WINSETUPAPI BOOL SetupSetNonInteractiveMode(
[in] BOOL NonInteractiveFlag
);
Parameters
[in] NonInteractiveFlag
The Boolean value of the non-interactive flag. If NonInteractive is set to TRUE, SetupAPI runs in a non-interactive user mode and if NonInteractive is set to FALSE, SetupAPI runs in an interactive user mode.
Return value
SetupSetNonInteractiveMode returns the previous setting of the non-interactive flag.
Remarks
Installation applications and co-installers can use this function to control whether SetupAPI can display interactive user interface elements, such as dialog boxes, in the caller's context.
An installation application or an installer can call SetupGetNonInteractiveMode to retrieve the current value of the non-interactive flag.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows XP and later versions of Windows. |
Target Platform | Desktop |
Header | setupapi.h (include Setupapi.h) |
Library | Setupapi.lib |
DLL | Setupapi.dll |