Dynamic key callback declaration changed to StdCall.