WEKF _ PredefinedKey. EnableWEKF_PredefinedKey.Enable

此方法阻止指定的预定义组合键。This method blocks the specified predefined key combination.

语法Syntax

[Static] uint32 Enable(
    [In] string PredefinedKey
);

参数Parameters

PredefinedKey 要阻止的预定义键组合。PredefinedKey The predefined key combination to block. 有关预定义的密钥列表,请参阅 预定义的键组合For a list of predefined keys, see Predefined key combinations.

返回值Return Value

返回一个 HRESULT 值,该值指示 wmi 非错误常量wmi 错误常量Returns an HRESULT value that indicates WMI non-error constant or a WMI error constant.

要求Requirements

Windows 版本Windows Edition 支持Supported
Windows 10 家庭版Windows 10 Home No
Windows 10 专业版Windows 10 Pro No
Windows 10 企业版Windows 10 Enterprise Yes
Windows 10 教育版Windows 10 Education Yes

WEKF _ PredefinedKeyWEKF_PredefinedKey

键盘筛选器Keyboard Filter