Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

Timer API

RadWolfie edited this page May 29, 2014 · 1 revision

Timer API

Supported: H-Ext 0.5.2.2 (Add-on API 3.1.1) or newer

To register the Timer support, the following below is required to be exported with #define EXT_ITIMER before including the header of Add-on API. And is also required you to managed your own stacks with the idTimer. This provide you more independent of what kind of parameters/structure to use plus recommended to keep the idTimer included.

CNATIVE dllAPI void WINAPIC EXTOnTimerExecute(DWORD idTimer) {
   //...
}
CNATIVE dllAPI void WINAPIC EXTOnTimerCancel(DWORD idTimer) {
   //...
}
Clone this wiki locally