The WMCreateWriterFileSink function creates a writer file sink object.
HRESULT WMCreateWriterFileSink( IWMWriterFileSink **ppSink );
Pointer to a pointer to the IWMWriterFileSink interface of the newly created writer file sink object.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The function succeeded.|
||The function is unable to allocate memory for the new object.|
|Minimum supported client||Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||wmsdkidl.h (include Wmsdk.h)|