Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The ITfRange::IsEmpty method verifies that the range of text is empty because the start and end anchors occupy the same position.
Syntax
HRESULT IsEmpty(
  [in]  TfEditCookie ec,
  [out] BOOL         *pfEmpty
);
Parameters
[in] ec
Edit cookie that identifies the edit context. It is obtained from ITfDocumentMgr::CreateContext or ITfEditSession::DoEditSession.
[out] pfEmpty
Pointer to a Boolean value. TRUE indicates the range is empty; FALSE indicates the range is not empty.
Return value
This method can return one of these values.
| Value | Description | 
|---|---|
  | 
The method was successful. | 
  | 
An unspecified error occurred. | 
  | 
One or more parameters are invalid. | 
  | 
The value of the ec parameter is an invalid cookie. | 
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 |