SendNotifyMessage function user32
Sends the specified message to a window or windows.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-sendnotifymessagew.
Implementation
Win32Result<bool> SendNotifyMessage(
HWND hWnd,
int msg,
WPARAM wParam,
LPARAM lParam,
) {
resolveGetLastError();
final result_ = _SendNotifyMessage(hWnd, msg, wParam, lParam);
return .new(value: result_ != FALSE, error: GetLastError());
}