IPhotoProgressDialog::SetCaption method (photoacquire.h)

Sets the caption of the progress dialog box.

Syntax

HRESULT SetCaption(
  [in] LPCWSTR pszTitle
);

Parameters

[in] pszTitle

Pointer to a null-terminated string containing the title of the progress dialog box.

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 caption text is displayed above the progress indicator bar in the dialog box.

Requirements

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

See also

IPhotoProgressDialog Interface