IPhotoAcquireSettings::SetAcquisitionTime method (photoacquire.h)

The SetAcquisitionTime method sets the acquisition time explicitly.

Syntax

HRESULT SetAcquisitionTime(
  [in] const FILETIME *pftAcquisitionTime
);

Parameters

[in] pftAcquisitionTime

Specifies the 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.

Remarks

This method is typically used to force two sessions to show the same acquisition time. If not explicitly set, acquisition time defaults to the current machine time.

Requirements

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

See also

GetAcquisitionTime

IPhotoAcquireSettings Interface