API 文件集 > Drawings and detail > Object ProDtlvartext > Function ProDtlvartextAlloc
Function ProDtlvartextAlloc
Description
Allocate and initialize memory for variable text structure.
Synopsis
#include <ProDtlsyminst.h>
ProDtlvartextAlloc
(
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
The function successfully allocated memory.
One or more arguments were invalid.
Not enough memory.
Sample Code References
User Guide References
這是否有幫助?