Share via


WEKF_PredefinedKey.Enable

這個方法會封鎖指定的預先定義按鍵組合。

語法

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

參數

PredefinedKey
要封鎖的預先定義按鍵組合。 如需預先定義的索引鍵清單,請參閱 預先定義的按鍵組合

傳回值

傳回 HRESULT 值,指出 WMI 非錯誤常數WMI 錯誤常數

需求

Windows 版本 支援
Windows Home No
Windows 專業版 No
Windows 企業版 Yes
Windows 教育版 Yes
Windows IoT 企業版 Yes