IsImmersiveProcess function user32

Win32Result<bool> IsImmersiveProcess(
  1. HANDLE hProcess
)

Determines whether the process belongs to a Windows Store app.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-isimmersiveprocess.

Implementation

Win32Result<bool> IsImmersiveProcess(HANDLE hProcess) {
  final result_ = IsImmersiveProcess_Wrapper(hProcess);
  return .new(value: result_.value.i32 != FALSE, error: result_.error);
}