Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SetWaitableTimer" in [All]

Delegates

.
Summary
The TimerAPCProc Callback Function. An application-defined timer completion routine. Specify this address when calling the SetWaitableTimer function.
.

''' 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
.
Summary
.

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);

.
Documentation
[SetWaitableTimer] on MSDN
.
Summary
.

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);

.
Documentation
[SetWaitableTimer] on MSDN

 
Access PInvoke.net directly from VS: