waitingsong / node-win32-api

win32 api
MIT License
436 stars 56 forks source link

缺少SendMessageTimeoutW和SendMessageTimeoutA #80

Open xmsz-stu opened 1 year ago

xmsz-stu commented 1 year ago

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendmessagetimeoutw

laztheripper commented 1 year ago

Yeah I'm also needing this, using just SendMessageW eventually causes deadlocks when something goes wrong and the receiving app isn't able to read the message. This eventually causes my entire app to stop working because the wrapper for SendMessageW just waits infinitely for a return.

waitingsong commented 3 months ago

SendMessageTimeoutW() added