Home page  
Help >
DdTxtEncodeParams() - encode MEMO marker parameters
Version 7.11
DdTxtEncodeParams() - encode MEMO marker parameters DdTxtEncodeParams() - encode MEMO marker parameters
   void DdTxtEncodeParams(
      WtChar8 pointer[FSZMemo],   /* [OUT] address string */
      WtLong64 sbn,               /* [IN] - return starting block number */
      WtInt32 nb,                 /* [IN] - pointer to number of blocks; or NULL */
      WtInt16 subBlockOffset,     /* [IN] - pointer to sub-block offset; or NULL */
      WtInt16 subBlockSize)       /* [IN] - pointer to sub-block size; or NULL */
 
Description of Parameter pointer[FSZMemo]
   pointer[FSZMemo] is a character array that contains encoded information describing
   an existing MEMO/BLOB field. If no MEMO/BLOB field exists, pointer[FSZMemo]
   contains all blanks.
 
   FSZMemo is equal to the global symbol TBAPI_INTERNAL_MEMO_MARKER_LENGTH
   which is defined in ddl_defs.h.
 
Description og Parameter sbn
   sbn (starting block number) is an essential TB API parameter. However, for
   a client application, this parameter is useful only as a zero/non-zero
   flag to indicate the presence of a MEMO/BLOB field.
 
Description og Parameter nb
   nb is the number of 512 byte blocks allocated to the MEMO/BLOB field.
   Thus, is can be used as an estimator of the MEMO/BLOB field's size.
   However, when subBlockSize is non-zero [see below], nb is 0;
 
Description og Parameter subBlockOffset
   subBlockOffset is an essential TB API parameter; but it has no significance
   to a client application.
 
Description og Parameter subBlockSize
   When nb is 0 [see above], subBlockSize is an estimator of the MEMO/BLOB field's size.

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.