WMCreateWriterFileSink function

The WMCreateWriterFileSink function creates a writer file sink object.

Syntax

HRESULT WMCreateWriterFileSink(
  IWMWriterFileSink **ppSink
);

Parameters

ppSink

Pointer to a pointer to the IWMWriterFileSink interface of the newly created writer file sink object.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.
E_OUTOFMEMORY
The function is unable to allocate memory for the new object.

Requirements

   
Windows version Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wmsdkidl.h (include Wmsdk.h)
Library Wmvcore.lib
DLL Wmvcore.dll

See Also

Functions

Writer File Sink Object