IUserInputString::GetMruEntryAt method (photoacquire.h)

The GetMruEntryAt method retrieves the entry at the given index in the most recently used list.

Syntax

HRESULT GetMruEntryAt(
  [in]  UINT nIndex,
  [out] BSTR *pbstrMruEntry
);

Parameters

[in] nIndex

Integer containing the index at which to retrieve the entry.

[out] pbstrMruEntry

Pointer to a string containing the most recently used entry.

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