Desktop Functions: Smart Device Functions:
|
Search Results for "SetWaitableTimer" in [All]Delegates1: TimerAPCProc
''' The TimerAPCProc Callback Function. An application-defined timer completion routine. Specify this address when calling the SetWaitableTimer function.
''' <remarks>The completion routine is executed by the thread that activates the timer using SetWaitableTimer. However, the thread must be in an alertable state.
lpArgToCompletionRoutine [in, optional] The value passed to the function using the lpArgToCompletionRoutine parameter of the SetWaitableTimer function.
The completion routine is executed by the thread that activates the timer using SetWaitableTimer. However, the thread must be in an alertable state. For more information, see Asynchronous Procedure Calls. http://msdn.microsoft.com/en-us/library/ms681951(v=vs.85).aspx kernel32
public static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long pDueTime,
Win32.PowerManagement.SetWaitableTimer(handle, ref duetime, 0, null, IntPtr.Zero, true); 3: set
static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long pDueTime,
static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long ft, int lPeriod, TimerCompleteDelegate pfnCompletionRoutine, IntPtr pArgToCompletionRoutine, bool fResume);
SetWaitableTimer(handle, ref Interval, 0, TimerComplete, IntPtr.Zero, true);
static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long pDueTime,
static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long ft, int lPeriod, TimerCompleteDelegate pfnCompletionRoutine, IntPtr pArgToCompletionRoutine, bool fResume);
SetWaitableTimer(handle, ref Interval, 0, TimerComplete, IntPtr.Zero, true); |