Get the Time Interval without ITimer
- by ronag
In my application I am hosting a flash activex control, based on the following implementation.
However I need to know in what fps the control is running in when it is "ticked". The only way I know of to do this is to implement ITimerService and ITimer to get the vtimeInterval argument from ITimer::Advise.
However, I do not want to control my own custom ITimer, instead I want the control to be timed using the default timer (basically sends WM_USER + 1 messages to the message queue at proper intervals) which is used when a custom ITimer is not provided.
How can I read the vTimeInterval while still using the default timer?