Local ACM drivers are available only to a specific application. The application must explicitly add the driver to the ACM’s list of available drivers with a call to acmDriverAdd, which is exported by the ACM and described in the Win32 SDK. If you are writing a local ACM driver, you can locate your driver code in your application or in a separate DLL file.
If you include ACM driver code within an application, the application must define a DriverProc function that recognizes ACM driver messages. To access the ACM driver code, your application must:
If you provide a local ACM driver as a separate DLL, your application must call LoadLibrary (see the Win32 SDK) to load the driver. The driver must define a DriverProc function that recognizes ACM driver messages. After the driver has been loaded, it must: