次の方法で共有


SipEnumIM (Compact 2013)

3/28/2014

This function enumerates the currently available input methods (IMs).

Syntax

int SipEnumIM( 
  IMENUMPROC pEnumIMProc
);

Parameters

  • pEnumIMProc
    [in] Pointer to the SipEnumIMProc callback function that receives information about the available IMs. Setting this parameter to NULL returns the number of available IMs.

Return Value

The number of available IMs. Zero indicates that no IMs are available. Return value of -1 indicates an error.

Remarks

For each IM, this function retrieves information about that IM and passes it to the function pointed to by the pEnumIMProc parameter. The application-defined callback function can process the IM information as desired. Enumeration continues until there are no more IMs or the callback function returns zero.

This function does not require that the software-based input panel (SIP) environment be loaded in order to successfully enumerate the IMs. Therefore, a call to SipEnumIM does not initialize the SIP environment. The SIP environment is initialized by the first function called that needs a loaded input environment. All SIP functions initialize the SIP environment except SipEnumIM, SipStatus, SipSetDefaultRect, and SipRegisterNotification.

Requirements

Header

sipapi.h

Library

coredll.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

Software-based Input Panel Functions
SipEnumIMProc
SipRegisterNotification
SipSetDefaultRect
SipStatus