Category Drawings and detail, Object ProDtlvartext

Function ProDtlvartextAlloc


Description
Allocate and initialize memory for variable text structure.
Synopsis
#include <ProDtlsyminst.h>
ProErrorProDtlvartextAlloc(
ProLine prompt
/* (In)
The prompt.
*/
ProLine value
/* (In)
The value.
*/
ProDtlvartext* vartext
/* (Out)
The pointer to allocated variable text structure. User must release memory by ProDtlvartextFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully allocated memory.
PRO_TK_BAD_INPUTSOne or more arguments were invalid.
PRO_TK_OUT_OF_MEMORYNot enough memory.

Manual References:

  1. Drawings: Symbol Instance Variable Text
  2. Drawings: Symbol Instance Variable Text

Sample Code References:

  1. pt_examples ( TestDtlsyminst.c )