Gets a value that indicates whether a key was pressed and held.
HRESULT value = object.get_repeat(* p);
VARIANT_TRUE if the key has been pressed and held; otherwise, VARIANT_FALSE.
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.6
The first key event with a IDOMKeyboardEvent::repeat property of VARIANT_TRUE indicates the beginning of a long key press.