IPhotoAcquireItem::SetProperty method (photoacquire.h)

The SetProperty method sets a property for an item.

Syntax

HRESULT SetProperty(
  [in] REFPROPERTYKEY    key,
  [in] const PROPVARIANT *pv
);

Parameters

[in] key

Specifies a key for the property to set.

[in] pv

Pointer to a property variant containing the value to set the property to.

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

The property is stored in memory, but is not written to the file.

Requirements

   
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

GetProperty

IPhotoAcquireItem Interface