Disables a key on the specified keyboard plane.
HRESULT DisableKey( BYTE plane, BYTE page, BYTE usage );
plane
Indicates the plane (Normal, Orange, or Green) whose key definition is targeted.
page
Page value needed to uniquely identify the key. Always set to 0x07.
usage
Usage value needed to uniquely identify the key.
S_OK
The function succeeded.
Other
The function failed. Use the Microsoft errlook.exe utility to determine the meaning of this value.
If the key identified by page and usage was not previously defined, this function does nothing.