ACMDRVSTREAMSIZE

The ACMDRVSTREAMSIZE structure contains information needed by an ACM driver to respond to an ACMDM_STREAM_SIZE message.

Syntax

typedef struct { DWORD cbStruct; DWORD fdwSize; DWORD cbSrcLength; DWORD cbDstLength; } ACMDRVSTREAMSIZE;

Members

cbStruct
Size, in bytes, of the ACMDRVSTREAMSIZE structure.
fdwSize
Contains one of the following flags, indicating the query type.
ACM_STREAMSIZEF_SOURCE
The client has specified the size, in bytes, of a source buffer in the cbSrcLength member. The driver should return the required destination buffer length in cbDstLength.
ACM_STREAMSIZEF_DESTINATION
the client has specified the size, in bytes, of a destination buffer in the cbDstLength member. The driver should return the required source buffer length in cbSrcLength.
cbSrcLength
Size, in bytes, of the source buffer. The flag value specified in fdwSize indicates whether this value is supplied by the client or by the driver.
cbDstLength
Size, in bytes, of the destination buffer. The flag value specified in fdwSize indicates whether this value is supplied by the client or by the driver.

Remarks

The ACMDRVSTREAMSIZE structure is declared in the header file Msacmdrv.h and defined in the file Codecmsg.d.