hi,

a while ago i wrote a program using api of exitwindowsex to shut the pc down at the time arranged by user. but the api turned the value of "0" which means api is not working, at the same time the process was cancelled by a program runs on the pc. could u pls help me with this issue? which or what kind of program may cause this problem?