次の方法で共有


Implement IPhotoAcquirePlugin

Your plug-in extends the Windows Vista acquisition experience by implementing the IPhotoAcquirePlugin interface. These methods are implemented in addition to the methods inherited from IUnknown.

Implement the IPhotoAcquirePlugin::Initialize method to perform actions during initialization of the acquisition experience. The IPhotoAcquirePlugin::Initialize method provides access to the IPhotoAcquireSource that represents the device, and the IPhotoAcquireProgressCB that provides callback functions during acquisition.

Implement the IPhotoAcquirePlugin::ProcessItem method to provide additional functionality each time an item is acquired. IPhotoAcquirePlugin::ProcessItem is called both before and after an item is saved, and provides access to the underlying file stream and an IPhotoAcquireItem object representing the item being transferred.

Implement IPhotoAcquirePlugin::DisplayConfigureDialog to perform actions when the configuration dialog is displayed.

IPhotoAcquirePlugin::TransferComplete may be implemented for additional functionality when a transfer session completes.

Programming Guide