Specifies the command identifier to which the key sequence being added maps.
KeyCode
Specifies the key sequence being added as an accelerator.
Remarks
Call the Add method on the Accelerator object to add a new key binding to the user interface. The method returns E_INVALIDARG if the accelerator already contains a key binding defined by the key code argument. To rebind an existing key sequence to a new command identifier, first call the Remove method of the Accelerator object.