IVsIME::SetImmCandidateWindow Method (UInt32, array<CANDIDATEFORM>^, Int32)

 

Sets aspects of the candidate list window. Provides a wrapper for .ime_0wc7

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int SetImmCandidateWindow(
	unsigned int HIMC,
	array<CANDIDATEFORM>^ lpcf,
	[OutAttribute] int% pfRetVal
)

Parameters

HIMC
Type: System::UInt32

[in] Handle to the IME input context.

Lpcf

[in] Pointer to an array of CANDIDATEFORM structures. These structures contain the index, style, current position and rectangle area of items in the candidate list.

pfRetVal
Type: System::Int32

[out] Error return value. Set to zero when there is an error. Nonzero otherwise.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsIME::SetImmCandidateWindow(
   [in] HIMC himc, 
   [in] CANDIDATEFORM * lpcf, 
   [out] BOOL * pfRetVal
);
Return to top
Show: