IDOMKeyboardEvent::locale Property

New for Windows Internet Explorer 9

Gets the locale name for the event.

Syntax


HRESULT IDOMKeyboardEvent::get_locale(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives the locale name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

For trusted events, the IDOMKeyboardEvent::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.

Community Additions

ADD
Show:
© 2015 Microsoft