IUserInputString::GetPrompt method (photoacquire.h)

The GetPrompt method retrieves the title of a prompt if the prompt is a modal dialog box.

Syntax

HRESULT GetPrompt(
  [out] BSTR *pbstrPromptTitle
);

Parameters

[out] pbstrPromptTitle

Pointer to a string containing the title of 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.
E_POINTER
A NULL pointer was passed where a non-NULL pointer is expected.

Requirements

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

See also

IUserInputString Interface