Returns the Hardware ID for the currently attached keyboard.

The error return code for this function is as follows: