KeyExists

Checks the key definitions table to see if a definition exists for the key identified by the plane, page, and usage parameters.

Syntax

KBDTools_API HRESULT KeyExists(
BYTE plane,
BYTE page,
BYTE usage,
bool* result
);

Parameters

plane
Keyboard plane (Normal, Orange, or Green) for the specified key definition.

page
Page number defining the key.

usage
Usage number defining the key.

result
Returns true if the key is defined.

Return Values

S_OK
The function succeeded.

Other
The function failed. Use the Microsoft errlook.exe utility to determine the meaning of this value.

More Information

KBDTools Functions