

ODBC Programmer Reference › Positioned Updates › Developing a Custom Conversion DLL › GetDBCSLength
GetDBCSLength
- Syntax
-
UINT GetDBCSLength(HANDLE hDBCS, LPSTR sBuffer, LPSTR nBufferLen, UINT
fType, UNIT * nLength)
- Description
-
Computes the converted data length.
- Arguments
-
- hDBCS
-
Environment handle.
- sBuffer
-
Input buffer
- nBufferLen
-
Input buffer length
- fType
-
Input data format:
- DBCS_MF (EBCDIC)
- DBCS_PC (ASCII)
- nLength
-
Buffer for converted length
- Returns
-
- DBCS_SUCCESS—Completed successfully
- DBCS_NO_MEMORY—Unable to allocate memory
- DBCS_INVALID_HANDLE— hDBCS is Null
- DBCS_ERR_PARM—Invalid parameter passed
Copyright © 2009 CA.
All rights reserved.
 
|
|