acmStreamPrepareHeader
The acmStreamPrepareHeader
function prepares an ACMSTREAMHEADER
MMRESULT acmStreamPrepareHeader(
HACMSTREAM
has, |
|
LPACMSTREAMHEADER pash, |
|
DWORD fdwPrepare |
|
); |
|
Parameters
has
Handle of the
conversion steam.
pash
Address of an
ACMSTREAMHEADER
fdwPrepare
Reserved;
must be zero.
Return Values
Returns zero
if successful or an error otherwise. Possible error values include the
following:
MMSYSERR_INVALFLAG |
At least
one flag is invalid. |
MMSYSERR_INVALHANDLE |
The specified
handle is invalid. |
MMSYSERR_INVALPARAM |
At least
one parameter is invalid. |
MMSYSERR_NOMEM |
The system
is unable to allocate resources. |
Remarks
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.
See Also