I remember windows phones around Windows Mobile 5.x/ 6.x era:
the executable programs that run on the phone, if the exes were to be copied onto a windows PC, the exes ran the same like native PC exes. I do not know if that is still the case with windows mobile.