SetKeyByName 

BOOL SetKeyByName (LPCTSTR KeyName)

Parameters

KeyName

Key name to search for

Return Value

Returns TRUE on success, FALSE on error.

Comments

Sets the KeyToSend property to the first key with the name specified by the KeyName parameter. Searches are for the initial substring, and are not case-sensitive.