node-win32-api
node-win32-api copied to clipboard
缺少SendMessageTimeoutW和SendMessageTimeoutA
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendmessagetimeoutw
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.
SendMessageTimeoutW() added