COleSafeArray::AllocDescriptor

Allocates memory for the descriptor of a safe array.

void AllocDescriptor(
   DWORD dwDims 
);

Parameters

  • dwDims
    Number of dimensions in the safe array.

Remarks

On error, the function throws a CMemoryException or COleException.

Requirements

Header: afxdisp.h

See Also

Reference

COleSafeArray Class

Hierarchy Chart

COleSafeArray::AllocData

SafeArrayAllocDescriptor Function

Other Resources

COleSafeArray Members