Partager via


IInputMethod3::GetImData (Compact 2013)

3/28/2014

Implement this method to send data from the current input method to the current application.

Syntax

HRESULT GetImData( 
  DWORD dwSize, 
  void* pvImData
);

Parameters

  • dwSize
    [in] Size of the buffer pointed to by pvImData.
  • pvImData
    [out] Void pointer to a block of data in the application.

Return Value

Returns S_OK to indicate success; otherwise, returns the appropriate HRESULT value to indicate that it was not successful.

Remarks

Use this method and IInputMethod3::SetImData to send data between an input method and an application. The application provides the data for the input method. The size and format of the data are defined by the input method.

In Windows Embedded Compact, the software-based input panel (SIP) calls this method when an application requests input method-specific information by using the SipGetInfo function. The application provides a non-NULL pointer for the pvImData member of the SIPINFO structure. The input method can then pass information directly to the application.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod3
SipGetInfo
SIPINFO
IInputMethod3::SetImData
IInputMethod3::Deselect
IInputMethod3::GetInfo
IInputMethod3::Hiding
IInputMethod3::InputContextChange
IInputMethod3::ReceiveSipInfo
IInputMethod3::RegisterCallback
IInputMethod3::RegisterCallback2
IInputMethod3::RegisterCallback3
IInputMethod3::Select
IInputMethod3::SetIMMActiveContext
IInputMethod3::Showing
IInputMethod3::UserOptionsDlg