Click or drag to resize
Xcalibur Systems LLC Logo

WindowHelperLockSetForegroundWindow Method

The foreground process can call the LockSetForegroundWindow function to disable calls to the function.

LockSetForegroundWindow function


Namespace: Xcalibur.NativeMethods.V2.Windows
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static bool LockSetForegroundWindow(
	LockSetForegroundWindowType lockCode
)

Parameters

lockCode  LockSetForegroundWindowType
Specifies whether to enable or disable calls to of type .

Return Value

Boolean
If the function succeeds, the return value is nonzero. To determine whether the function adjusted all of the specified privileges, call .
See Also