ToUnicodeEx buffer fix
ToUnicodeEx buffer fix

this fixes the buffers in the case that an unmapped key is pressed, it may not be null terminated and the index of the buffer will be greater than the character array we are trying to create

how i broke case 1 in the switch:
set keyboard layout to german, press ( Ctrl + Alt + '['') or (Ctrl + Alt + Enter) -the return key on the numpad-

how i broke the default case in the switch:
set keyboard layout to german, press ( '^' + Ctrl + Alt + '['') or ( '^' + Ctrl + Alt + Enter) -the return key on the numpad and the accent dead-key-

mhxjzq/globalmousekeyhook,goblincoding/globalmousekeyhook,gmamaladze/globalmousekeyhook