Skip to main content
WMCreateWriterNetworkSink function

The WMCreateWriterNetworkSink function creates a writer network sink object.

Syntax


HRESULT WMCreateWriterNetworkSink(
  _Out_ IWMWriterNetworkSink **ppSink
);

Parameters

ppSink [out]

Pointer to a pointer to the IWMWriterNetworkSink interface of the newly created writer network sink object.

Return value

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

Return codeDescription
S_OK

The function succeeded.

E_OUTOFMEMORY

The function is unable to allocate memory for the new object.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

Library

Wmvcore.lib

DLL

Wmvcore.dll

See also

Functions
Writer Network Sink Object