An open API service indexing awesome lists of open source software.

https://github.com/justjavac/deno_ffi_win32_messagebox


https://github.com/justjavac/deno_ffi_win32_messagebox

deno

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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:

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

Or run local:

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

---

See:

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