Chinese government officials agreed to crack down on software and other piracy and to take steps to ensure that state-owned organizations use legal software.