CHPtrArray Class

[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 CHPtrArray class is part of the WMI Provider Framework. CHPtrArray is a utility interface for array pointer management used for provider handling of WMI queries.

CHPtrArray has these types of members:

Constructors

The CHPtrArray class has these constructors.
Constructor Description
CHPtrArray Constructor.
 

Methods

The CHPtrArray class has these methods.
Method Description
GetAt Accesses an element in a CHPtrArray array.
GetSize Obtains the pointer array size.
RemoveAll Removes all the CHPtrArray members from this array.
 

Operators

The CHPtrArray class has these operators.
Operator Description
operator[] Gets the element at the specified index.

Methods

The CHPtrArray class has these methods.

Method Description
CHPtrArray::CHPtrArray The CHPtrArray method constructor initializes a new instance of CHPtrArray.
CHPtrArray::GetAt The GetAt method accesses an element in a CHPtrArray array.
CHPtrArray::GetSize The GetSize function obtains the pointer array size. Because indexes are zero-based, the size is one greater than the largest index.
CHPtrArray::RemoveAll The RemoveAll method removes all the CHPtrArray members from this array.

Remarks

The destructor for the class is CHPtrArray::~CHPtrArray.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header chptrarr.h (include FwCommon.h)

See Also

Provider Framework Utility Classes