Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acmGetVersion(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

acmGetVersion(3mms)  —  Subroutines

 

Name

 
acmGetVersion --- Return the version number of the ACM
 

Syntax

 

 #include <mme/mme_api.h>
 DWORD acmGetVersion()
 

 
 

Arguments

 
None.
 

Description

 
The acmGetVersion function returns the version number of the Audio Compression Manager (ACM). The version number is returned as a hexadecimal number of the form 0xAABBCCCC, where AA is the major version number, BB is the minor version number, and CCCC is the build number. 

 
An application must verify that the ACM version is at least 0x02000000 or greater before attempting to use any other ACM functions. Versions earlier than version 2.00 of the ACM support only acmGetVersion. The build number (CCCC) is always zero except in internal-only or field test versions of the ACM. 
 

 
To display the ACM version for a user, an application should use the following format (note that the values should be printed as unsigned decimals):
 

 #include <mme/mme_api.h>
#define HIWORD(x) (x>>16)
main ()
{
 DWORD dw;
 dw = acmGetVersion();
 printf("%u.%.02u0, HIWORD(dw) >> 8, HIWORD(dw) & 0x00ff);
}
 

 
 

Extensions

 
None.
 

Return Values

 
None.
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026