MessageBeep function user32

Win32Result<bool> MessageBeep(
  1. MESSAGEBOX_STYLE uType
)

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) {
  final result_ = MessageBeep_Wrapper(uType);
  return Win32Result(value: result_.value.i32 != FALSE, error: result_.error);
}