i want to know how to shut down computer using
i have seen many source code on net to shut down the
computer but they are readymade programe.
actually i want to make this programe from scratch
but i am helpless to get full information required to
make this programe.