IPhotoAcquireDeviceSelectionDialog::SetSubmitButtonText method (photoacquire.h)

The SetPrompt method sets the text displayed in the dialog box that prompts the user to select a device.

Syntax

HRESULT SetSubmitButtonText(
  [in] LPCWSTR pszSubmitButtonText
);

Parameters

[in] pszSubmitButtonText

Pointer to a null-terminated string containing the prompt.

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.

Requirements

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

See also

IPhotoAcquireDeviceSelectionDialog Interface