The ACMDM_FILTERTAG_DETAILS message requests an ACM driver to return information about a filter tag.
Flag |
Meaning |
ACM_FILTERTAGDETAILSF_ |
Indicates the dwFilterTagIndex member of the ACMFILTERTAGDETAILS structure contains a filter tag index. The valid index range is from zero to one less than the cFilterTags member returned in the driver’s ACMDRIVERDETAILS structure. (See ACMDM_DRIVER_DETAILS.) The driver should return details for the filter tag associated with the index. |
ACM_FILTERTAGDETAILSF_ |
Indicates the dwFilterTag member of the ACMFILTERTAGDETAILS structure contains a filter tag. The driver should return details for the specified filter tag. |
ACM_FILTERTAGDETAILSF_ |
Indicates the driver should return details for the filter tag having the largest filter. The dwFilterTag member of ACMFILTERTAGDETAILS can contain a filter tag or WAVE_FILTER_UNKNOWN. |
The driver should return MMSYSERR_NOERROR if the operation succeeds. Otherwise it should return one of the MMSYSERR error codes defined in mmsystem.h, or one of the ACMERR error codes defined in msacm.h. Possible error codes include:
Error Code |
Meaning |
MMSYSERR_NOTSUPPORTED |
The driver does not support filter operations or the specified query operation. |
ACMERR_NOTPOSSIBLE |
The input parameter values don’t represent a valid filter or filter tag. |
A client sends the ACMDM_FILTERTAG_DETAILS message by calling the driver’s DriverProc entry point, passing the specified parameters. The ACM sends this message when an application calls acmFilterTagDetails, which is described in the Win32 SDK.
An ACM driver that provides filters must support this message.
The client specifies the filter tag in the ACMFILTERTAGDETAILS structure’s dwFilterTag member. The driver returns information for a particular tag, as follows:
Before calling the driver’s DriverProc function, the ACM verifies that:
Before returning, the driver must set the ACMFILTERTAGDETAILS structure’s cbStruct member to the actual number of bytes returned. The value returned in cbStruct must not be greater than the value received.
For more information about filter tags, see Format Tags and Filter Tags.