MgErr DSCheckPtr(p);

Purpose

Verifies that the specified pointer is allocated with XX NewPtr or XX NewPClr. If it is not a pointer, this function returns mZoneErr.

Parameters

Name Type Description
p UPtr Pointer you want to verify.

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
noErr No error.
mZoneErr Handle or pointer not in specified zone.