Introduction
An .acm file is, in the explorer’s extension list, a driver for the
Windows Audio Compression Manager (ACM). Microsoft’s page on the ACM driver procedure
describes an installable ACM driver that provides a callback function, which the ACM
calls with a driver identifier, a driver handle, a message and two message
parameters. The page says that the function must be exported by including it in
the module-definition file of the executable or
DLL file. Whether a file of this kind is a DLL, and
what its extension is, the pages consulted do not say; the explorer reads it as a
PE file, whose structure is described on the
.EXE page. The ACM is a legacy feature.
A file dropped on any page opens in the explorer, with its structure, resources and code.
What is particular
The driver’s entry is a callback with the prototype
LRESULT acmDriverProc(DWORD_PTR, HACMDRIVERID, UINT, LPARAM, LPARAM)
(header msacm.h; the name acmDriverProc is a placeholder
for the name the driver chooses). The third parameter is an ACM driver message. It
returns zero if successful. The exports can be seen in the
export directory. Microsoft’s page
on this callback says nothing further about the messages.
Not described
Unknown
- Extension and container: the Microsoft pages consulted do not name the .acm extension, say that a driver is a DLL, or say how the system finds a driver.
Known, not yet covered
- Reference: the ACM driver messages and the structures that describe a format.
Links
Software
Reference
- Audio Compression Manager – Microsoft’s overview of the ACM
- ACMDRIVERPROC – the callback of an ACM driver
- PE Format – Microsoft’s specification of PE32 and PE32+