Hitler didn't win the presidential elections nor the parliamentary elections.
Although he didn't technically win the parliamentary elections he got a huge share of the votes, more than any other parties.
The nazis became the largest party.
Hope this helped
:D