You may be at a standstill because you are asking for the wrong version of windowproc.
The Procs window, like the applications, comes in two flavors: ansi and unicode. Windows cannot return the raw pointer to the ansi window to the unicode application, or vice versa, because they will try to call it with the wrong string type.
, GetWindowLongPtr. , "" , windows api: GetWindowLongPtrA GetWindowLongPtrW. , GetWindowLongPtrA windows, , ( CallWindowProc) ansi unicode. .
, - , ansi . windowproc callWindowProc.
- , .