AllowSetForegroundWindow function Null safety user32

int AllowSetForegroundWindow(
  1. int dwProcessId
)

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);