Share via


IMediaCenterInputCallback::UpdateField Method

Enables the IME module to update part or all of the displayed input field.

Note   This method has been deprecated.

Syntax

  HRESULT UpdateField(
  BSTR  bstrValue,
  UINT*  uiFlags
);

Parameters

bstrValue

[in] String containing the replacement characters to display on-screen in the input field.

uiFlags

[in] Pointer to an unsigned integer containing an array of flags, one for each character in the bstrValue parameter. The shell uses the flags to change the appearance of characters in the input field. The first (zero) element in uiFlags affects the appearance of the first (zero) character in bstrValue, the second element affects the appearance of the second character in bstrValue, and so on.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

The IME module uses the uiFlags parameter to direct the shell how to annotate individual characters.

Requirements

Header: ehinputmodule.idl

Platform: Windows XP Media Center Edition 2004 through Windows Vista

See Also