ItEv_FindPFKeyID 

Use

Finds the first key on the screen whose name starts with the substring you specify.

For example, if you specify "Execute", then both the keys called Execute and Execute with var qualify. However, this function returns the first key it finds.

Syntax

DWORD DLEX ItEv_FindPFKeyID(PIT_EVENT pEvt, const char *pfkey);

Parameters

pEvt

Pointer to the IT_EVENT structure

pfkey

Initial substring to use in the search of the key names. Case-insensitive

Return Value

Returns the 0-based index of key that matches the search., or -1 if no match.

See Also

ItEv_SetPFKeyID.