MessageBeep function user32
Plays a waveform sound.
The waveform sound for each sound type is identified by an entry in the registry.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-messagebeep.
Implementation
Win32Result<bool> MessageBeep(MESSAGEBOX_STYLE uType) {
resolveGetLastError();
final result_ = _MessageBeep(uType);
return .new(value: result_ != FALSE, error: GetLastError());
}