It's a waitable timer object.
It's a waitable timer object.
I don't think there is a way to do that (officially).
What are you ACTUALLY trying to do (bigger picture - you are asking how to remove a wheel-nut when you are actually wanting to fix a puncture).
Edit: Are you even sure that the object HAS a name? Waitable Timer Objects do not HAVE to have a name, only if CreateWaitableTimerEx is used does it have a name, if one is supplied.
--
Mats
Last edited by matsp; 03-16-2009 at 08:19 AM.
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I didn't think so.
Basically I have several programs that all need to be synchronized together. So for that I've got a waitable timer as a seperate program.
Hard to get in to specifics without writing a novel(I've spent about a week and a half just deciphering the existing code to get to this point).
edit: and Yes, one thing that I am sure of is the name of the timer
But if you KNOW the name, then you can use OpenWaitableTimer() to open a new handle to the timer. I suspect that is what you really want to do anyways.
Edit: The reason I say "that's what you want to do anyways" is that going the other way around, is that I think handles are actually "process local", meaning that each process has it's own handle, that is different from the other processes that connect to the same timer.
--
Mats
Last edited by matsp; 03-16-2009 at 08:28 AM.
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.