Beispiel #1
0
 private static extern unsafe bool SetWaitableTimer(
     [In][Optional] IntPtr hTimer,
     [In]           ref Int64 pDueTime,
     [In]           UInt32 lPeriod,
     [In][Optional] PTIMERAPCROUTINE pfnCompletionRoutine,
     [In][Optional] void *lpArgToCompletionRoutine,
     [In]           bool fResume
     );
Beispiel #2
0
 public static extern bool SetWaitableTimer(
     [In] IntPtr hTimer, [In] ref LARGE_INTEGER lpDueTime, int lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, [In] IntPtr lpArgToCompletionRoutine,
     [MarshalAs(UnmanagedType.Bool)] bool fResume);