Skip to content

Latest commit

 

History

History
134 lines (111 loc) · 4.21 KB

nf-photoacquire-iphotoacquireplugin-processitem.md

File metadata and controls

134 lines (111 loc) · 4.21 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:photoacquire.IPhotoAcquirePlugin.ProcessItem
IPhotoAcquirePlugin::ProcessItem (photoacquire.h)
The ProcessItem method provides additional functionality each time an item is processed. The application provides the implementation of the ProcessItem method.
IPhotoAcquirePlugin interface [Picture Acquisition]
ProcessItem method
IPhotoAcquirePlugin.ProcessItem
IPhotoAcquirePlugin::ProcessItem
IPhotoAcquirePluginProcessItem
ProcessItem
ProcessItem method [Picture Acquisition]
ProcessItem method [Picture Acquisition]
IPhotoAcquirePlugin interface
photoacquire/IPhotoAcquirePlugin::ProcessItem
picacq.iphotoacquireplugin_processitem
picacq\iphotoacquireplugin_processitem.htm
picacq
f8a9144e-a728-48b7-a729-eec6d4db6d9e
12/05/2018
IPhotoAcquirePlugin interface [Picture Acquisition],ProcessItem method, IPhotoAcquirePlugin.ProcessItem, IPhotoAcquirePlugin::ProcessItem, IPhotoAcquirePluginProcessItem, ProcessItem, ProcessItem method [Picture Acquisition], ProcessItem method [Picture Acquisition],IPhotoAcquirePlugin interface, photoacquire/IPhotoAcquirePlugin::ProcessItem, picacq.iphotoacquireplugin_processitem
photoacquire.h
Windows
PhotoAcquireUID.lib
Windows
19H1
IPhotoAcquirePlugin::ProcessItem
photoacquire/IPhotoAcquirePlugin::ProcessItem
c++
APIRef
kbSyntax
COM
PhotoAcquireUID.lib
PhotoAcquireUID.dll
IPhotoAcquirePlugin.ProcessItem

IPhotoAcquirePlugin::ProcessItem

-description

The ProcessItem method provides additional functionality each time an item is processed. The application provides the implementation of the ProcessItem method.

-parameters

-param dwAcquireStage [in]

Specifies a double word value indicating whether this method is being called before or after processing an item. Must be one of: PAPS_PRESAVE, PAPS_POSTSAVE, or PAPS_CLEANUP.

Value Description
PAPS_PRESAVE Indicates that the method is being called before saving the acquired file. During PAPS_PRESAVE, pPhotoAcquireItem::GetProperty should be used to retrieve metadata from the original file, while new metadata to be written to the file should be added to pPropertyStore.
PAPS_POSTSAVE Indicates that the method is being called after saving the acquired file.
PAPS_CLEANUP Indicates that the user has canceled the acquire operation and any work done by the plug-in should be cleaned up.

-param pPhotoAcquireItem [in]

Pointer to an IPhotoAcquireItem object for the item being processed.

-param pOriginalItemStream [in]

Pointer to an IStream object for the original item. NULL if dwAcquireStage is PAPS_POSTSAVE.

-param pszFinalFilename [in]

The file name of the destination of the item. NULL if dwAcquireStage is PAPS_PRESAVE.

-param pPropertyStore [in]

The item's property store. NULL if dwAcquireStage is PAPS_POSTSAVE.

-returns

The method returns an HRESULT. Your implementation is not limited to the following return values.

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

-see-also

IPhotoAcquirePlugin Interface