how can you shutdown xp progmatically.

thank you.
casey.