Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

DSSetHandleFromPtr (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr DSSetHandleFromPtr(void *ph, const void *psrc, size_t n);

Purpose

Copies the data referenced by the pointer psrc into the handle pointed to by ph.

Parameters

Name Type Description
ph UHandle Pointer to a handle that the data from psrc is copied into. The allocated handle can contain n bytes of data.
psrc UHandle Pointer to the data of interest.
n size_t Number of bytes of data in psrc. If n is zero bytes, the handle pointed to by ph is allocated zero bytes.

Return Value

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

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
mFullErr2

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit