MessageBoxEx function Null safety user32

int MessageBoxEx(
  1. int hWnd,
  2. Pointer<Utf16> lpText,
  3. Pointer<Utf16> lpCaption,
  4. int uType,
  5. int wLanguageId
)

Creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. The buttons are in the language of the system user interface.

int MessageBoxExW(
  HWND    hWnd,
  LPCWSTR lpText,
  LPCWSTR lpCaption,
  UINT    uType,
  WORD    wLanguageId
);

Implementation

int MessageBoxEx(int hWnd, Pointer<Utf16> lpText, Pointer<Utf16> lpCaption,
        int uType, int wLanguageId) =>
    _MessageBoxEx(hWnd, lpText, lpCaption, uType, wLanguageId);