Gets a value that describes how text is entered.
HRESULT IDOMTextEvent::get_inputMethod(ULONG *p);
- Pointer to a variable of type unsigned long that receives one of the values listed in Possible Values.
DOM_INPUT_METHOD_UNKNOWN The text input method is unknown. DOM_INPUT_METHOD_KEYBOARD Text is entered by using a keyboard. DOM_INPUT_METHOD_PASTE Text is pasted from the Clipboard. DOM_INPUT_METHOD_DROP Text is entered as part of a drag-and-drop operation. DOM_INPUT_METHOD_IME Text is entered through an Input Method Editor (IME). DOM_INPUT_METHOD_OPTION Text is selected from options in a form. DOM_INPUT_METHOD_HANDWRITING Text is entered by using pen and tablet device. DOM_INPUT_METHOD_VOICE Text is entered by voice recognition software. DOM_INPUT_METHOD_MULTIMODAL Text is entered by multiple input methods in combination. DOM_INPUT_METHOD_SCRIPT Text is entered by a script operation.
Returns S_OK if successful, or an error value otherwise.