Availability of Multimedia Timers

Last reviewed: November 29, 1995
Article ID: Q140104
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) version 3.1
  • Microsoft Win32 Software Development Kit (SDK) versions 3.5, 3.51, 4.0
  • Microsoft Win32s version 1.2

SUMMARY

The number of multimedia timers your application can create at one time can vary based on the operating system it is running on and whether the application is 16-bit or 32-bit.

MORE INFORMATION

The following table gives an indication of what you can expect:

Operating System      16-bit app   32-bit app
Windows 3.11               8           0 (Not supported on Win32s)
Windows 95                32          32
Windows NT 3.51           16          16 per process

Note that a multimedia timer is created by using the timeSetEvent() API. With the exception of a 32-bit application running under Windows NT, these numbers represent the total number of available timers in the entire system. With this in mind, the number of multimedia timers your application can allocate at one time could be less then the amount shown in the table. Win32s does not support multimedia callbacks, so the timeSetEvent() API is not available under Win32s.


Additional reference words: limit
KBCategory: kbmm kbprg
KBSubcategory: MMTimer


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 29, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.