Windows Media Format SDK banner art
PreviousNext

IWMWriterAdvanced::RemoveSink

The RemoveSink method removes a writer sink object.

Syntax

HRESULT RemoveSink(
  IWMWriterSink*  pSink
);

Parameters

  pSink

[in]  Pointer to an IWMWriterSink object.

Return Values

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

Return code Meaning
S_FALSE Could not remove the specified sink.
NS_E_INVALID_STATE The writer is not in a configurable state.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.