Description

Allocates storage for a requested number of data values.

Return Type

None  
HRESULT

This is one call that can quite legitimately fail

due to low memory.  Thus, you should always check for a FAILED return.

Syntax

object.AllocateStorage dwValuesToAllocate

The AllocateStorage Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McObject.
dwValuesToAllocateRequired. An ULong object.

Number of values (not bytes) to allocate.

Remarks

Forces the vector size of of the object to the given size. Increases in size are zero filled. Decreases in size chop off ending values.