Commit ce5023a
authored
Logs result of SendInput and PostMessage calls (#23)
* Logs result of SendInput calls
Adds logging to track the number of input events successfully sent by SendInput.
This helps diagnose potential issues where not all input events are processed correctly. It logs an error if the number of sent events doesn't match the expected count and a trace if all events are successfully sent.
* Logs PostMessage results
Adds logging to record the success or failure of PostMessage calls.
Logs the last Win32 error when PostMessage fails, aiding in debugging.
Logs successful message posts for tracing purposes.1 parent d7b693f commit ce5023a
1 file changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
347 | 360 | | |
348 | 361 | | |
349 | 362 | | |
| |||
369 | 382 | | |
370 | 383 | | |
371 | 384 | | |
372 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
373 | 399 | | |
374 | 400 | | |
375 | 401 | | |
| |||
0 commit comments