AllowSetForegroundWindow function user32
Enables the specified process to set the foreground window using the SetForegroundWindow function. The calling process must already be able to set the foreground window.
BOOL AllowSetForegroundWindow(
DWORD dwProcessId
);
Implementation
int AllowSetForegroundWindow(int dwProcessId) =>
_AllowSetForegroundWindow(dwProcessId);