Only a licensed handgun owner is allowed to possess ammunition suitable for the licensed handgun and is allowed to possess an ammunition feeding device for the licensed handgun, but not to exceed 17 rounds capacity.
http://www.nraila.org/gunlaws/nyc.aspx
That’s a New York CITY law. NYC laws are separate from the rest of N.Y. state.