void DdGetVarCharData( WtHandle hControlHandle, /* [IN] ctl->ddlHandle */ WtChar8 *pszTableAliasName, /* [IN] pszTableAliasName from Fetch Callback */ WtChar8 *Buffer, /* [IN] destBuff from Fetch Callback */ WtInt32 lItemIndex, /* [IN] 1-rel index of requested TBAPI_FETCHCB_INFO */ WtChar8 *BufferOut, /* [IN/OUT] user supplied buffer for VarChar data */ WtInt32 *bufferOutSizeRef, /* [IN] size of bufferOut */ /* [OUT] actual number of bytes transferred */ /* (including terminating null) */ WtInt32 *piStatus); /* [OUT] 0 or error code */
DdGetVarCharData() is a special API function than can be called only from the
fetch callback.
It retrieves data from a VARCHAR field and stores it in the caller-supplied
buffer, BufferOut.
Calls to DdGetVarCharData() are instituted exclusively from the user's fetch callback function; and the call to DdGetVarCharData() for a specific table can only be made from the fetch callback for that specific table. The fetch callback for a specific table is triggered by TBAPI only when a table contains virtual data that is being requested by the underlying TBAPI function. Description of Parameter lControlHandle:
Description of Parameter pszTableAliasName:
Description of Parameter Buffer:
Description of Parameter lItemIndex:
Description of Parameter BufferOut:
Description of Parameter bufferOutSizeRef:
Description of Parameter piStatus:
|
Copyright © 2019 , WhamTech, Inc. All rights reserved. This
document is provided for information purposes only and the contents hereof are
subject to change without notice. Names may be
trademarks of their respective owners.