DSCopyHandle (LabVIEW Manager Function)

MgErr DSCopyHandle(void *ph, const void *hsrc)

Purpose

Copies the data referenced by the handle hsrc into the handle pointed to by ph or a new handle if ph points to NULL.

Parameters

Name Type Description
ph UHandle* Pointer to the handle to copy the data into. This must point to a valid handle or NULL. If it points to NULL, a new handle is allocated.
hsrc UHandle The handle containing the data to copy.

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