Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Modifies the description string of an existing preserved key.
Syntax
HRESULT SetPreservedKeyDescription(
[in] REFGUID rguid,
[in] const WCHAR *pchDesc,
[in] ULONG cchDesc
);
Parameters
[in] rguid
Contains the command GUID of the preserved key.
[in] pchDesc
Pointer to a Unicode string that contains the new description of the preserved key. This cannot be NULL unless cchDesc is zero.
[in] cchDesc
Number of characters in pchDesc. Pass zero for this parameter if no description is required.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
One or more parameters are invalid or the preserved key is not found. |
|
An unspecified error occurred. |
Remarks
Preserved keys are registered by TSF text services and provide keyboard shortcuts to common commands implemented by the TSF text service.
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 |