ITfComposition::GetRange method (msctf.h)
Obtains a range object that contains the text covered by the composition.
Syntax
HRESULT GetRange(
[out] ITfRange **ppRange
);
Parameters
[out] ppRange
Pointer to an ITfRange interface pointer that receives the range object. It is possible that the range will have zero length.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
An unspecified error occurred. |
|
ppRange is invalid. |
|
A memory allocation failure occurred. |
|
The composition has already terminated. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin