Skip to content

justjavac/deno_ffi_win32_messagebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno_ffi_win32_messagebox

Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked.

Run:

deno run --allow-ffi --unstable https://cdn.jsdelivr.net/gh/justjavac/deno_ffi_win32_messagebox@main/mod.ts

Or run local:

git clone git@github.com:justjavac/deno_ffi_win32_messagebox.git
cd deno_ffi_win32_messagebox
deno run --allow-ffi --unstable mod.ts

See: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox

// C++
int MessageBox(
  [in, optional] HWND    hWnd,
  [in, optional] LPCTSTR lpText,
  [in, optional] LPCTSTR lpCaption,
  [in]           UINT    uType
);

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks