aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-04-05 08:43:27 +1000
committerNeil <nyamatongwe@gmail.com>2020-04-05 08:43:27 +1000
commitbf9adaf7f82732929f00336421536812805cdf8c (patch)
tree7f11a4a9808538d3bfe48b9b443b00de64756d98 /win32/PlatWin.h
parentf2878cb7710c1b5efda08cb0d5ca77acc0877339 (diff)
downloadscintilla-mirror-bf9adaf7f82732929f00336421536812805cdf8c.tar.gz
Backport: Feature [feature-requests:1345] Use more typesafe code to clear window pointers,
share implementation of window pointers between files, use GetWindowStyle. Backport of changeset 8110:33f16ac2c3ca.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index f4f804b2e..3f1152522 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -31,6 +31,9 @@ inline HWND HwndFromWindow(const Window &w) noexcept {
return HwndFromWindowID(w.GetID());
}
+void *PointerFromWindow(HWND hWnd) noexcept;
+void SetWindowPointer(HWND hWnd, void *ptr) noexcept;
+
#if defined(USE_D2D)
extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;