diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-11 07:53:34 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-11 07:53:34 +0200 |
| commit | 0cfdf6cbad1a2e4d5f9d36ca44d3b54b3883e415 (patch) | |
| tree | e41099f8ca2af38ccdd4e4b88d8a650f59944bac | |
| parent | f19e6c7bddfca904f6afdae9152491745df855f5 (diff) | |
[Fix] Add new entries to compile_flags.txt.
[Add] Add documentation W32MessageBoxW symbol.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
| -rw-r--r-- | compile_flags.txt | 2 | ||||
| -rw-r--r-- | sdk/w32.h | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/compile_flags.txt b/compile_flags.txt index f24cf8f..4ca4a49 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -1,2 +1,4 @@ -std=c++20 -Idev/ +-Isdk/ +-I./ @@ -11,6 +11,11 @@ #include <sdk/xpcom.h> -typedef struct __gHANDLE* HANDLE; // API handle. +typedef XHANDLE HANDLE; // API handle, simply a pointer to an XHANDLE. -EXTERN __INT32_TYPE__ W32MessageBoxW(HANDLE hWnd, const WCHAR* szContent, const WCHAR* szTitle, UINT32 iFlags); +/// @brief Shows a message box within an handle. +/// @param hWnd Message box parent handle. +/// @param szContent Message box text. +/// @param szTitle Message box title. +/// @param iFlags Message box flags. +EXTERN INT32 W32MessageBoxW(HANDLE hWnd, const WCHAR* szContent, const WCHAR* szTitle, UINT32 iFlags); |
