Following annexation by Nazi Germany in 1938 and subsequent occupation by the victorious Allies in 1945 , Austria 's status remained unclear for a decade .