function prepares an ACMSTREAMHEADER
structure for an ACM stream conversion. This function must be called for
every stream header before it can be used in a conversion stream. An application
needs to prepare a stream header only once for the life of a given stream. The
stream header can be reused as long as the sizes of the source and destination
buffers do not exceed the sizes used when the stream header was originally
| HACMSTREAM has,
| LPACMSTREAMHEADER pash,
| DWORD fdwPrepare
Handle of the conversion steam.
Address of an ACMSTREAMHEADER
structure that identifies the source and destination buffers to be prepared.
Reserved; must be zero.
Returns zero if successful or an error otherwise. Possible error values
include the following:
||At least one flag is invalid.
||The specified handle is invalid.
||At least one parameter is invalid.
||The system is unable to allocate resources.
Preparing a stream header that has already been prepared has no effect, and
the function returns zero. Nevertheless, you should ensure your application does
not prepare a stream header multiple times.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages