Detecting if program is running on WOW64 without API. New trick.
File list:
Wow64Detect
..........\Release
..........\.......\Wow64Detect.exe
..........\.......\Wow64Detect.pdb
..........\Wow64Detect
..........\...........\Release
..........\...........\.......\cl.command.1.tlog
..........\...........\.......\CL.read.1.tlog
..........\...........\.......\CL.write.1.tlog
..........\...........\.......\link-cvtres.read.1.tlog
..........\...........\.......\link-cvtres.write.1.tlog
..........\...........\.......\link-rc.read.1.tlog
..........\...........\.......\link-rc.write.1.tlog
..........\...........\.......\link.command.1.tlog
..........\...........\.......\link.read.1.tlog
..........\...........\.......\link.write.1.tlog
..........\...........\.......\main.obj
..........\...........\.......\vc110.pdb
..........\...........\.......\Wow64Detect.lastbuildstate
..........\...........\.......\Wow64Detect.log
..........\...........\main.cpp
..........\...........\Wow64Detect.vcxproj
..........\...........\Wow64Detect.vcxproj.filters
..........\Wow64Detect.sln
..........\Wow64Detect.v11.suo