khand (KHAND) - input
vdk (VDKEY *) - input
inchar (UniChar) - input
outchar (UniChar *) - output
newdead (VDKEY *) - output
result (int) - returns
ULS_BADHANDLE