Hello,
Welcome to Microsoft Q&A!
Accordng to the Doc: CreateTimerQueueTimer function
The period of the timer, in milliseconds. If this parameter is zero, the timer is signaled once.
Although the one-shot timer is only signaled once, the timer is not automatically canceled. As far as I'm concerned, you need to call the DeleteTimerQueueTimer function
to cancel a timer.
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.