fix UNIX64 and WIN64: use ecx as input param