CHPtrArray::GetAt method (chptrarr.h)

[The CHPtrArray class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The GetAt method accesses an element in a CHPtrArray array.


void * GetAt(
  int nIndex



An integer index that is greater than or equal to zero (0), and less than or equal to the upper bound.

Return value

If the GetAt method is successful, it returns the CHPtrArray pointer element currently at this index.


Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header chptrarr.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll

See also


Provider Framework Utility Classes