Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns the document manager that has the input focus.
Syntax
HRESULT GetFocus(
[out] ITfDocumentMgr **ppdimFocus
);
Parameters
[out] ppdimFocus
Pointer to a ITfDocumentMgr interface that receives the document manager with the current input focus. Receives NULL if no document manager has the focus.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
No document manager has focus. ppdimFocus be set to NULL. |
|
ppdimFocus is invalid. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | msctf.h |