The ACMDRVSTREAMHEADER structure describes a source buffer and a destination buffer associated with a conversion stream. The structure is used with the ACMDM_STREAM_PREPARE, ACMDM_STREAM_UNPREPARE, and ACMDM_STREAM_CONVERT messages. ACMDRVSTREAMHEADER is defined in Msacmdrv.h.
typedef struct {
DWORD cbStruct;
DWORD fdwStatus;
DWORD dwUser;
LPBYTE pbSrc;
DWORD cbSrcLength;
DWORD cbSrcLengthUsed;
DWORD dwSrcUser;
LPBYTE pbDst;
DWORD cbDstLength;
DWORD cbDstLengthUsed;
DWORD dwDstUser;
DWORD fdwConvert;
LPACMDRVSTREAMHEADER padshNext;
DWORD fdwDriver;
DWORD dwDriver;
DWORD fdwPrepared;
DWORD dwPrepared;
LPBYTE pbPreparedSrc;
DWORD cbPreparedSrcLength;
LPBYTE pbPreparedDst;
DWORD cbPreparedDstLength;
} ACMDRVSTREAMHEADER;
·For the ACMDM_STREAM_PREPARE message, the value specified as the acmStreamPrepareHeader function's fdwPrepare argument. (Not used.)
·For the ACMDM_STREAM_UNPREPARE message, the value specified as the acmStreamUnprepareHeader function's fdwUnprepare argument. (Not used.)
·For the ACMDM_STREAM_CONVERT message, the value specified as the acmStreamConvert function's fdwConvert argument.
For ACMDM_STREAM_CONVERT, the following flags are defined.