Gets the locale name for the event.
HRESULT IDOMTextEvent::get_locale(BSTR *p);
- Pointer to a variable of type BSTR that receives the locale name.
Returns S_OK if successful, or an error value otherwise.
For trusted events, the IDOMTextEvent::locale property is set for keyboard and Input Method Editor (IME) input only. The locale name is set from the default LCID of the thread,
en-US, for example.