IPhotoProgressDialog::Destroy method (photoacquire.h)

The Destroy method closes and disposes of the progress dialog box shown during image enumeration and acquisition.

Syntax

HRESULT Destroy();

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

Calling Destroy is the only way to close the progress dialog box. If Destroy is not called, the dialog box will remain open. The dialog box is not automatically closed when the operation in progress completes.

Requirements

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

See also

IPhotoProgressDialog Interface