acmGetVersion
The acmGetVersion
function returns the version number of the ACM.
DWORD
acmGetVersion(VOID);
Parameters
This function
takes no parameters.
Return Values
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.
Remarks
Win32
applications must verify that the ACM version is at least 0x03320000 (version
3.50) or greater before attempting to use any other ACM functions. The build
number (CCCC) is always zero for the retail (non-debug) version 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):
{
DWORD dw;
TCHAR ach[10];
dw =
acmGetVersion();
wsprintf(ach, "%u.%.02u", HIWORD(dw) >> 8, HIWORD(dw)
& 0x00FF);
}