@@ -414,7 +414,7 @@ WINRT_EXPORT namespace winrt
414414 m_handle = handle;
415415 m_timer.attach (check_pointer (WINRT_IMPL_CreateThreadpoolTimer (callback, this , nullptr )));
416416 int64_t relative_count = -m_duration.count ();
417- WINRT_IMPL_SetThreadpoolTimerEx (m_timer.get (), &relative_count, 0 , 0 );
417+ WINRT_IMPL_SetThreadpoolTimer (m_timer.get (), &relative_count, 0 , 0 );
418418
419419 state expected = state::idle;
420420 if (!m_state.compare_exchange_strong (expected, state::pending, std::memory_order_release))
@@ -435,10 +435,10 @@ WINRT_EXPORT namespace winrt
435435
436436 void fire_immediately () noexcept
437437 {
438- if (WINRT_IMPL_SetThreadpoolTimerEx (m_timer.get (), nullptr , 0 , 0 ))
438+ if (WINRT_IMPL_SetThreadpoolTimer (m_timer.get (), nullptr , 0 , 0 ))
439439 {
440440 int64_t now = 0 ;
441- WINRT_IMPL_SetThreadpoolTimerEx (m_timer.get (), &now, 0 , 0 );
441+ WINRT_IMPL_SetThreadpoolTimer (m_timer.get (), &now, 0 , 0 );
442442 }
443443 }
444444
@@ -513,7 +513,7 @@ WINRT_EXPORT namespace winrt
513513 m_wait.attach (check_pointer (WINRT_IMPL_CreateThreadpoolWait (callback, this , nullptr )));
514514 int64_t relative_count = -m_timeout.count ();
515515 int64_t * file_time = relative_count != 0 ? &relative_count : nullptr ;
516- WINRT_IMPL_SetThreadpoolWaitEx (m_wait.get (), m_handle, file_time, nullptr );
516+ WINRT_IMPL_SetThreadpoolWait (m_wait.get (), m_handle, file_time);
517517
518518 state expected = state::idle;
519519 if (!m_state.compare_exchange_strong (expected, state::pending, std::memory_order_release))
@@ -535,10 +535,10 @@ WINRT_EXPORT namespace winrt
535535
536536 void fire_immediately () noexcept
537537 {
538- if (WINRT_IMPL_SetThreadpoolWaitEx (m_wait.get (), nullptr , nullptr , nullptr ))
538+ if (WINRT_IMPL_SetThreadpoolWait (m_wait.get (), nullptr , nullptr ))
539539 {
540540 int64_t now = 0 ;
541- WINRT_IMPL_SetThreadpoolWaitEx (m_wait.get (), WINRT_IMPL_GetCurrentProcess (), &now, nullptr );
541+ WINRT_IMPL_SetThreadpoolWait (m_wait.get (), WINRT_IMPL_GetCurrentProcess (), &now);
542542 }
543543 }
544544
0 commit comments