Creates a timer thread that regularly calls a user-supplied function. To start the timer counting, call either RtSetTimer or RtSetTimerRelative.
HANDLE RtCreateTimer(
PSECURITY_ATTRIBUTES pThreadAttributes,
ULONG dwStackSize,
VOID (RTFCNDCL * Routine) (PVOID Context),
PVOID Context,
ULONG Priority,
CLOCK Clock
);
pThreadAttributes
dwStackSize
Routine
Context
Routine.
Priority
Clock
dwStackSize is ceiled to a multiple of 4K bytes.
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/iwin32.h | iwin32.h | iwin32.lib |
Note
This function operates in the real-time portion of your application.