Partager via


ACMDRVSTREAMSIZE (Compact 2013)

3/26/2014

This 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
    Value that specifies the size, in bytes, of the ACMDRVSTREAMSIZE structure.
  • fdwSize
    Value that indicates the query type. The following table shows the possible values for fdwSize.

    Value

    Description

    ACM_STREAMSIZEF_SOURCE

    Value that indicates that the client has specified the size, in bytes, of a source buffer in the cbSrcLength member. The driver returns the required destination buffer length in cbDstLength.

    ACM_STREAMSIZEF_DESTINATION

    Value that indicates that the client has specified the size, in bytes, of a destination buffer in the cbDstLength member. The driver returns the required source buffer length in cbSrcLength.

  • cbSrcLength
    Value that specifies the 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
    Value that specifies the 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.

Requirements

Header

msacmdrv.h

See Also

Reference

ACM Driver Structures