with 0.160 only section # OSD VIDEO OPTIONS should appear. Section # DIRECT3D-SPECIFIC OPTIONS should not appear at all.
What MAME build are you using ? I just tried the official MAME 0.160 and the DIRECT3D section doesn't show in the new file, but you must delete previous mame.ini for this to work. Try to delete files in cfg folder first, and try again.