// wdfcore.h
LONGLONG WDF_REL_TIMEOUT_IN_MS(
[in] ULONGLONG Time
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF and UMDF]
The WDF_REL_TIMEOUT_IN_MS function converts a specified number of milliseconds to a relative time value.
Time
[in]The number of milliseconds to convert.
WDF_REL_TIMEOUT_IN_MS returns the relative time value, in system time units (100-nanosecond intervals), that represents the number of milliseconds that Time specifies.
A relative time is a time value that is relative to the current system time. For example, if a caller passes a relative time value of five milliseconds to a function that accepts a time-out value, the function will time out five milliseconds after it is called.
The following code example starts a timer. The framework will call the timer's EvtTimerFunc callback function after ten milliseconds.
BOOLEAN inTimerQueue;
inTimerQueue = WdfTimerStart(
timerHandle,
WDF_REL_TIMEOUT_IN_MS(10)
);