In this double-blind noninferiority trial , adult patients undergoing major abdominal or pelvic operation under general anesthesia lasting more than 45 minutes were assigned to either daily enoxaparin 40 mg commenced preoperatively or daily semuloparin 20 mg commenced postoperatively , for 7 to 10 days .