IUserInputString::GetDefault method (photoacquire.h)

The GetDefault method retrieves the default string used to initialize an edit control (or equivalent).

Syntax

HRESULT GetDefault(
  [out] BSTR *pbstrDefault
);

Parameters

[out] pbstrDefault

Pointer to a string containing the default value used to initialize the edit control.

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
The pointer passed was NULL.

Requirements

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

See also

IUserInputString Interface