IPhotoProgressDialog::Create method (photoacquire.h)

The Create method creates and displays a progress dialog box that can be shown during image enumeration and acquisition.

Syntax

HRESULT Create(
  [in] HWND hwndParent
);

Parameters

[in] hwndParent

Handle of the parent window.

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 dialog box that is created is modal, and runs in its own thread.

To close the dialog, call Destroy.

Requirements

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

See also

IPhotoProgressDialog Interface

IPhotoProgressDialog::Destroy