The following table shows the ACM functions and their associated calls.
Function |
Description |
ACM_Init | Called by the Device Manager when the driver is loaded |
ACM_Deinit | Called by the Device Manager when the driver is unloaded |
ACM_Open | Called by the ACM when the driver is opened for use |
ACM_Close | Called by the ACM when the driver is no longer needed |
ACM_Read | Never called |
ACM_Write | Never called |
ACM_Seek | Never called |
ACM_PowerUp | Called by the Device Manager when the system resumes from the suspend state |
ACM_PowerDown | Called by the Device Manager when the system enters the suspend state |
ACM_IOControl | Called by the ACM to pass messages to and receive information from the driver |