SwitchDesktop function user32
Makes the specified desktop visible and activates it.
This enables the desktop to receive input from the user.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-switchdesktop.
Implementation
Win32Result<bool> SwitchDesktop(HDESK hDesktop) {
final result_ = SwitchDesktop_Wrapper(hDesktop);
return .new(value: result_.value.i32 != FALSE, error: result_.error);
}