Share via


IImageSink::EndSink (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

This method is used by the source to terminate the interaction with the sink.

Syntax

HRESULT EndSink(
  HRESULT statusCode
);

Parameters

  • statusCode
    [in] An HRESULT value, used to determine whether an error occurred while stopping the sink.

    If IImageSink::EndSink encounters an internal error, the method returns an error value; otherwise, the method returns the value passed in with statusCode.

Return Value

If successful, this method returns S_OK.

This method may return E_NOTIMPL if it fails.

Requirements

Header

imaging.h

Library

Imaging.lib

See Also

Reference

IImageSink