WEKF_Scancode.Remove

This method removes a custom scan code key combination, causing Keyboard Filter to stop blocking the removed combination.

Syntax

[Static] uint32 Remove(
    [In] string Modifiers,
    [In] uint16 Scancode
);

Parameters

Modifiers
The modifier keys of the combination to remove.

Scancode
The scan code of the combination to remove.

Return Value

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

Remarks

WEKF_Scancode.Remove removes an existing WEKF_Scancode object. If the object does not exist, WEKF_Scancode.Remove returns an error with the value 0x8007007B.

Because this method is static, you cannot call it on an object instance, but must instead call it at the class level.

Requirements

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