How would i write my function so that depending on what i passed to it it would act on it:

e.g.
char *KeyType(WPARAM keyID)
or
char *KeyType(int keyID)

without copying the whole function twice?

cheers

Andy