|
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);
}
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|