How To Availability of Multimedia Timers (140104)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1
  • Microsoft Win32s 1.2
  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows 3.1
    • Microsoft Windows 3.11
    • Microsoft Windows 95
    • Microsoft Windows 98
    • Microsoft Windows NT Server 3.5
    • Microsoft Windows NT Server 3.51
    • Microsoft Windows NT Server 4.0
    • Microsoft Windows NT Workstation 3.5
    • Microsoft Windows NT Workstation 3.51
    • Microsoft Windows NT Workstation 4.0
    • the operating system: Microsoft Windows 2000

This article was previously published under Q140104

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 98                32          32
Windows NT 3.51           16          16 per process
Windows NT 4.0            16          16 per process
Windows 2000              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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbhowto kbmm KB140104