TFormer_AddNewVar

Repository Access · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_AddNewVar(HTFORM pInstance, LPCSTR pszProjectName, LPCSTR pszVarName, EVarType eVType);

Windows only: UTF-16

ERRCODE TFormer_AddNewVarW(HTFORM pInstance, LPCWSTR pszProjectName, LPCWSTR pszVarName, EVarType eVType);

Contract

Adds a new DataField to the specified Project.

If no Project is specified, the DataField will be added to the global Project.

Returns

ErrOk (0) in case of success, non-zero if an error occurred

Parameters

Parameter / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszProjectNameLPCSTR / LPCWSTR


The name of the Project (may be NULL for global DataFields)

pszVarNameLPCSTR / LPCWSTR


The name of the DataField to be added.

eVTypeEVarType


The data-type of the DataField.

Search documentation

Search in
More scopes
Additional scopes

All contents