Returns the item at the asked location.
ADLX_RESULT At (const adlx_uint location, IADLXDisplayResolution ** ppItem)
[in]location const adlx_uint Location index to retrieve the resolution item from the list.
[out]ppItem IADLXDisplayResolution** The address of a pointer variable that receives a pointer to the IADLXDisplayResolution interface.
Returns ADLX_OK for success and ADLX error code ADLX_RESULT for failure.
The returned interface must be discarded with Release when it is no longer needed.
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.