ACMDRVSTREAMSIZE

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

The ACMDRVSTREAMSIZE structure contains information needed by an ACM driver to respond to an ACMDM_STREAM_SIZE message. ACMDRVSTREAMSIZE is defined in msacmdrv.h.

Members

cbStruct
Size, in bytes, of the ACMDRVSTREAMSIZE structure.
fdwSize
Contains one of the following flags, indicating the query type.

Flag

Meaning

ACM_STREAMSIZEF_
SOURCE

Indicates 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

Indicates 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.