IPhotoAcquirePlugin::Initialize method (photoacquire.h)
The Initialize
method provides extended functionality when the plug-in is initialized. The application provides the implementation of the Initialize
method.
Syntax
HRESULT Initialize(
[in] IPhotoAcquireSource *pPhotoAcquireSource,
[in] IPhotoAcquireProgressCB *pPhotoAcquireProgressCB
);
Parameters
[in] pPhotoAcquireSource
Specifies the source from which photos are being acquired.
[in] pPhotoAcquireProgressCB
Specifies the callback that will provide additional processing during acquisition.
Return value
The method returns an HRESULT. Your implementation is not limited to the following return values.
Return code | Description |
---|---|
|
The method succeeded. |
|
The method is not implemented |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |