SetWaitableTimer's absolute time?
-
hi everybody! i want to use "SetWaitableTimer" api,but i don't know how to set "pDueTime". for example,if i want to set "pDueTime" a value "2009-10-20 13:34:10",what value should i set to "pDueTime".
-
hi everybody! i want to use "SetWaitableTimer" api,but i don't know how to set "pDueTime". for example,if i want to set "pDueTime" a value "2009-10-20 13:34:10",what value should i set to "pDueTime".
Use SystemTimeToFileTime[^] and convert the time that you need represented using the SYSTEMTIME[^] structure to a FILETIME[^] structure. You can now convert the
FILETIME
to a LARGE_INTEGER[^]. The documentation forFILETIME
tells you how to.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) -
Use SystemTimeToFileTime[^] and convert the time that you need represented using the SYSTEMTIME[^] structure to a FILETIME[^] structure. You can now convert the
FILETIME
to a LARGE_INTEGER[^]. The documentation forFILETIME
tells you how to.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) -
Reference?/Example?
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
what's RTL apis?