At

Returns the item at the asked location.

Syntax

Copied!

ADLX_RESULT     At (const adlx_uint location, IADLXDisplayResolution ** ppItem)

Parameters

  1. [in] location const adlx_uint Location index to retrieve the resolution item from the list.

  2. [out] ppItem IADLXDisplayResolution ** The address of a pointer variable that receives a pointer to the IADLXDisplayResolution interface.

Return Value

Returns ADLX_OK for success and ADLX error code ADLX_RESULT for failure.

Remarks

The returned interface must be discarded with Release when it is no longer needed.

Additional Info

In C++, when using ADLX interfaces as smart pointers, there is no need to call Release because smart pointers call it in their internal implementation.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0