From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11343 invoked by alias); 1 Feb 2002 15:48:28 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 10912 invoked from network); 1 Feb 2002 15:48:22 -0000 Received: from unknown (HELO mailrelay2.inwind.it) (212.141.54.102) by sources.redhat.com with SMTP; 1 Feb 2002 15:48:22 -0000 Received: from quigonn.inwind.it (62.98.133.193) by mailrelay2.inwind.it (5.5.053) id 3C5631120022A77E; Fri, 1 Feb 2002 16:48:02 +0100 Message-Id: <5.1.0.14.0.20020201164751.02f4b7e0@popmail.inwind.it> X-Sender: fwyzard@popmail.inwind.it X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Feb 2002 07:48:00 -0000 To: Aravind K Umesh , "gcc-help@gcc.gnu.org" , "yinliyin@zte.com.cn" , Sanjiv Kumar Gupta , Dylan Cuthbert ,John Love-Jensen , PeterPan From: Andrea 'Fyre Wyzard' Bocci Subject: Re: Help..... Cc: Aravind K Umesh In-Reply-To: <3C59FFC3.BBFCD828@adamya.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-02/txt/msg00011.txt.bz2 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