|
WindowHelperLockSetForegroundWindow Method |
Namespace: Xcalibur.NativeMethods.V2.WindowsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("user32.dll")]
public static bool LockSetForegroundWindow(
LockSetForegroundWindowType lockCode
)
<DllImportAttribute("user32.dll">]
Public Shared Function LockSetForegroundWindow (
lockCode As LockSetForegroundWindowType
) As Boolean
public:
[DllImportAttribute(L"user32.dll")]
static bool LockSetForegroundWindow(
LockSetForegroundWindowType lockCode
)
[<DllImportAttribute("user32.dll")>]
static member LockSetForegroundWindow :
lockCode : LockSetForegroundWindowType -> bool
Parameters
- lockCode LockSetForegroundWindowType
- Specifies whether to enable or disable calls to
of type .
Return Value
BooleanIf the function succeeds, the return value is nonzero. To determine whether the
function adjusted all of the specified privileges, call
.
See Also