LockSetForegroundWindow function user32

int LockSetForegroundWindow(
  1. int uLockCode
)

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

BOOL LockSetForegroundWindow(
  UINT uLockCode
);

Implementation

int LockSetForegroundWindow(int uLockCode) =>
    _LockSetForegroundWindow(uLockCode);