aboutsummaryrefslogtreecommitdiff
path: root/c/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/common.h')
-rw-r--r--c/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/common.h b/c/common.h
index 6dfd782..d908d12 100644
--- a/c/common.h
+++ b/c/common.h
@@ -11,6 +11,9 @@
#define WA "A"
#endif
+int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, unsigned uType);
+int GetRelativeCursorPos(HWND hWnd, POINT* pt);
+
struct wstring_owner
{
static wstring_owner from_narrow(const char* buf, int cp = CP_UTF8);
@@ -28,8 +31,6 @@ struct wstring_owner
wchar_t* p = nullptr;
};
-int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, unsigned uType);
-
struct Win32Error : public std::exception
{
Win32Error();