Partager via


IImageSink::EndSink

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IImageSink