diff options
author | Neil <nyamatongwe@gmail.com> | 2020-04-05 08:43:27 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-04-05 08:43:27 +1000 |
commit | a7398db7f9a0f27c7a9e21d4a692d5c6d8ba3533 (patch) | |
tree | e0a5f4c77d10aac0bb98c428c164aafe2f810347 /win32/PlatWin.h | |
parent | 25cdcf3627343b1699833c2d8f5fbf76ba120bc2 (diff) | |
download | scintilla-mirror-a7398db7f9a0f27c7a9e21d4a692d5c6d8ba3533.tar.gz |
Feature [feature-requests:1345] Use more typesafe code to clear window pointers,
share implementation of window pointers between files, use GetWindowStyle.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index 001a834cc..d7e544da6 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -35,6 +35,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; |