DSSetHSzClr (LabVIEW Manager Function)

MgErr DSSetHSzClr(h, size);

Purpose

Changes the size of the block of memory referenced by the specified handle and sets any new memory to zero. Do not use this function on a locked handle.

Parameters

Name Type Description
h UHandle Handle you want to resize.
size size_t New size, in bytes, of the handle.

Return Value

MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mZoneErrHandle or pointer not in specified zone.
mFullErr2