|
|
|
|
|
by CodesInChaos
192 days ago
|
|
Well designed C APIs have a context/userdata parameter on their callbacks, which is registered and stored alongside the function pointer. Unfortunately WNDPROC lacks this parameter. GWLP_USERDATA should be the best option, though the API for setting it and setting the WNDPROC being separate looks error prone. |
|