IPhotoAcquireSettings::GetAcquisitionTime method (photoacquire.h)

The GetAcquisitionTime method retrieves the acquisition time of the current session.

Syntax

HRESULT GetAcquisitionTime(
  [out] FILETIME *pftAcquisitionTime
);

Parameters

[out] pftAcquisitionTime

Specifies acquisition time.

Return value

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

Return code Description
S_OK
The method succeeded.
E_POINTER
A non-NULL value was expected.

Remarks

If not set explicitly, the acquisition time defaults to the current machine time.

Requirements

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

See also

IPhotoAcquireSettings Interface

SetAcquisitionTime