Skip to content

Commit 204ffdf

Browse files
author
Simon Hofmann
committed
(#17) Added doc comment regarding EnumWindowsProc
1 parent 63b74a7 commit 204ffdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/win32/window_manager.cc

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include "../window_manager.h"
22
#include <windows.h>
33

4+
/**
5+
* Documentation regarding the `EnumWindowsProc` already seems a bit stale (https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms633498(v=vs.85))
6+
* We should keep this in mind for the future, just in case there should be any deprecations or strange behaviour
7+
*/
48
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lparam) {
59
std::vector<WindowHandle>* windowHandles = reinterpret_cast<std::vector<WindowHandle>*>(lparam);
610
if (windowHandles != nullptr) {

0 commit comments

Comments
 (0)