[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.SafeHandle)] public static extern SafeWaitHandle CreateWaitableTimer( IntPtr lpTimerAttributes, [MarshalAs(UnmanagedType.Bool)] bool bManualReset, string lpTimerName );
Microsoft documentation: Link
Last updated 1 year ago