Use:
This structure is used to pass the mixed character(SBCS/MBCS) format column name to the Provider_Init() API as a child member of structure DP_FIELD_DEF.
Description:
The structure is used to supply the column name expressed in mixed character (SBCS/MBCS) format, DBMS type of the column name and Code Page of the column name which are used by the ODPP framework to initialize the column.
Before using this structure ensure that it is "memset" with 0.
Use:
This member is used to specify the DBMS type of the current column name expressed as mixed character(SBCS/MBCS) format string.
Description:
This is used to specify the DBMS type of the current column name supplied in pColName member of the structure DPFD_MC_SS.
Optional:
No
int iColNameCodePage
Use:
This member is used to specify the Code page of the current column name expressed as mixed character(SBCS/MBCS) format string.
Description:
This is an integer which holds the Code Page type of the column name supplied in pColName member of the structure DPFD_MC_SS.
To use code page and DBMS type supplied by the parent structure DP_SVC_DEF, set iColNameCodePage to ODPP_CODE_PAGE_NONE.
Optional:
No
char* pColName
Use:
This member is used to specify the name of the current column expressed in mixed (SBCS/MBCS) character format. The column name is limited to MAX_COLNAME_SIZE characters.
Description:
This is a pointer to the mixed character (SBCS/MBCS) string which represents the name of the column. The caller must ensure that the memory referenced by pColName remains valid till Provider_Init() returns.