Help.....
Andrea 'Fyre Wyzard' Bocci
fwyzard@inwind.it
Fri Feb 1 07:48:00 GMT 2002
At 08.08 01/02/2002 (GMT +0530), Aravind K Umesh wrote:
>Hi All,
>
>I am trying to use system defined function timeSetEvent and
>timeKillEvent.
>The symbol for these functions are defined in libwinmm.a.
>But I am not able to find the declaration for these function in any of
>the Header files under GCC.
>
>Could anybody help me in this regard.
You can declare those funztion in your code. Google'ing around, I fount
this from a patch to XEmacs...
>typedef void (CALLBACK TIMECALLBACK)(UINT uTimerID, UINT uMsg, DWORD
>dwUser, DWORD dw1, DWORD dw2);
>
>typedef TIMECALLBACK FAR *LPTIMECALLBACK;
>DWORD WINAPI timeGetTime(void);
>MMRESULT WINAPI timeSetEvent(UINT uDelay, UINT uResolution,
> LPTIMECALLBACK fptc, DWORD dwUser, UINT fuEvent);
>MMRESULT WINAPI timeKillEvent(UINT uTimerID);
>MMRESULT WINAPI timeGetDevCaps(TIMECAPS* ptc, UINT cbtc);
>MMRESULT WINAPI timeBeginPeriod(UINT uPeriod);
>MMRESULT WINAPI timeEndPeriod(UINT uPeriod);
I couldn't find anything else on the argument, and I have never used these
thing, so I hope this helps you.
>Best Regards
>Aravind
Goog luck :-)
fwyzard
More information about the Gcc-help
mailing list