IPhotoAcquireProgressCB::EndSession method (photoacquire.h)

The EndSession method provides extended functionality when an acquisition session is completed. The application provides the implementation of the EndSession method.

Syntax

HRESULT EndSession(
  [in] HRESULT hr
);

Parameters

[in] hr

Specifies the result of the acquisition.

Return value

The method returns an HRESULT. Your implementation is not limited to the following return values. Any failing HRESULT other than E_NOTIMPL is fatal and will cause the transfer to abort.

Return code Description
S_OK
The method succeeded.
E_NOTIMPL
The method is not yet implemented

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireProgressCB Interface