How to check exit status of an application in windows ?

Hi,

Is it possible to check the exit status of an application in windows through playbook like Linux ?

Thanks and regards,
Shyam.