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(
  HWND hwndParent
);

Parameters

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

   
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoProgressDialog Interface

IPhotoProgressDialog::Destroy