DSCheckPtr (LabVIEW Manager Function)

MgErr DSCheckPtr(p);

Purpose

Verifies that the specified pointer is allocated with XXNewPtr or XXNewPClr. 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
noErrNo error.
mZoneErrHandle or pointer not in specified zone.