Home All Groups Group Topic Archive Search About

waitable timer callback and waking up action

Author
10 Mar 2005 7:25 PM
Gary Li
I am trying to use a WIN32 waitable timer to wake up a standby system at
certain delayed time.
The WIN32 code is working as expected, but .NET version using DllImport to
WIN32 APIs does not generate the expected timer callback, and the waking up
event to recover the system power.
Any specifial restriction upon .NET application for a waitable time ?
CreateWaitableTimer() function needs a security descriptor, I am uisng
default security by setting that parameter as NULL. I am not sure whether
that is the reason.
Any advice ?

Thanks

-Gary