從兩個 ACP 值建立 range 物件。
語法
HRESULT CreateRange(
[in] LONG acpStart,
[in] LONG acpEnd,
[out] ITfRangeACP **ppRange
);
參數
[in] acpStart
包含範圍的起始位置。
[in] acpEnd
包含範圍的結束位置。
[out] ppRange
接收 range 物件的 ITfRangeACP 介面指標指標的指標。
傳回值
這個方法可以傳回下列其中一個值。
| 值 | 描述 |
|---|---|
|
此方法成功。 |
|
ppRange 無效。 |
|
發生未指定的錯誤。 |
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows 2000 專業版 [傳統型應用程式 |UWP 應用程式] |
| 最低支援的伺服器 | Windows 2000 Server [傳統型應用程式 |UWP 應用程式] |
| 目標平台 | Windows |
| 標頭 | msctf.h |
| Dll | Msctf.dll |
| 可轉散發套件 | Windows 2000 專業版上的 TSF 1.0 |