SetupGetNonInteractiveMode function (setupapi.h)
The SetupGetNonInteractiveMode function returns the value of a SetupAPI non-interactive flag that indicates whether the caller's process can interact with a user through user interface components, such as dialog boxes.
Syntax
WINSETUPAPI BOOL SetupGetNonInteractiveMode();
Return value
SetupGetNonInteractiveMode returns TRUE if the caller's process cannot display interactive user interface elements, such as dialog boxes. Otherwise, the function returns FALSE, which indicates that the process can display interactive user interface elements.
Remarks
Installation applications and co-installers can use this function to determine whether the current process can display interactive user interface elements such as dialog boxes. SetupAPI runs a class installer or a co-installer either in an interactive or in a non-interactive process, depending on which DIF code SetupAPI is processing.
An installation application can call SetupSetNonInteractiveMode to set the SetupAPI non-interactive flag that controls whether SetupAPI can display interactive user interface elements in the caller's context.
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 |