Windows Media Format SDK banner art
PreviousNext

IWMWriterSink::OnHeader

The OnHeader method is called when the writer has finished sending the file header.

Syntax

HRESULT OnHeader(
  INSSBuffer*  pHeader
);

Parameters

  pHeader

[in]  Pointer to an INSSBuffer object containing the header.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
NS_E_FILE_WRITE The header cannot be written.
ASF_E_INVALIDHEADER The header is illegal.
E_OUTOFMEMORY There is not enough available memory available.
ASF_E_HEADSIZE The header is too large.
E_UNEXPECTED The method failed for an unspecified reason.
E_INVALIDARG The pHeader parameter is NULL.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.