function int *strtohex where int * changed to LPCBYTE