Stub for the ACM_METRIC_MAX_SIZE_FORMAT command of acmMetrics.

This commit is contained in:
James Hatheway 2000-07-11 22:05:47 +00:00 committed by Alexandre Julliard
parent 5d760b1ca8
commit e940b8c993
1 changed files with 7 additions and 2 deletions

View File

@ -153,11 +153,16 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
val++;
*(LPDWORD)pMetric = val;
return 0;
case ACM_METRIC_MAX_SIZE_FORMAT:
/* FIXME: According to MSDN, this should return the size of the largest WAVEFORMATEX
structure in the system. How is this calculated? */
*(LPDWORD)pMetric = sizeof (WAVEFORMATEX);
return 0;
case ACM_METRIC_COUNT_HARDWARE:
case ACM_METRIC_HARDWARE_WAVE_INPUT:
case ACM_METRIC_HARDWARE_WAVE_OUTPUT:
case ACM_METRIC_MAX_SIZE_FORMAT:
case ACM_METRIC_MAX_SIZE_FILTER:
case ACM_METRIC_DRIVER_SUPPORT:
case ACM_METRIC_DRIVER_PRIORITY: