Bewerken

Delen via


WEKF_PredefinedKey.Enable

This method blocks the specified predefined key combination.

Syntax

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

Parameters

PredefinedKey
The predefined key combination to block. For a list of predefined keys, see Predefined key combinations.

Return Value

Returns an HRESULT value that indicates WMI non-error constant or a WMI error constant.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yes