The information in this article applies to:
SUMMARYThis article explains how to obtain the version number for Video for Windows. MORE INFORMATIONUsing the GetVersionEx() FunctionVideo for Windows has been incorporated into Windows 95 and Windows NT version 3.51. Therefore, 32-bit applications should call the GetVersionEx() function to determine the version of the operating system and consequently the version of the multimedia system that is installed. GetVersionEx() returns extended information about the version of the operating system that is currently running.Using the VideoForWindowsVersion() Function16-bit applications (for example, those compiled with Visual C++ version 1.5x) should call the VideoForWindowsVersion() function to determine the version of Video for Windows that is installed. The VideoForWindowsVersion() function is not documented in the Video for Windows Development Kit. However, many of the samples from the kit use this function, and it is defined in the multimedia header files. The function is exported by Msvideo.dll, which is usually located in the Windows\System directory.This function may be used to retrieve the major and minor versions of the currently installed Video for Windows system under Windows 3.x. For example, the following code fragment verifies that Video for Windows version 1.1 or higher is currently running:
NOTE: As stated in the Win32 SDK, this function is obsolete in Windows NT and Windows 95. The GetVersion() or GetVersionEx() functions should be used on these platforms rather than VideoForWindowsVersion(). Here is an excerpt from the Win32 SDK "Multimedia, Introduction, Multimedia Possibilities, Version Checking" documentation:
Using the MCI StringThe Multimedia Control Interface (MCI) string "info avivideo version" should not be used to determine the installed version of Video for Windows. This string is only meant to be displayed; it is not meant to be used for version comparison. It will become obsolete in the future.Additional query words: win16sdk 1.10 3.10 4.00
Keywords : kbmm MMVideo |
Last Reviewed: March 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |