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 / type | Description |
|---|---|
pInstanceHTFORM |
|
pszProjectNameLPCSTR / LPCWSTR |
|
pszVarNameLPCSTR / LPCWSTR |
|
eVTypeEVarType |
|