AddNewCard
DESCRIPTION: Add a new card into FlitBase file. |
CLASS: CFlitBase
PROTOTYPE(S):int AddNewCard(CCard *pCard, CTag* pItemData = NULL, int ItemSize = sizeof(CTag)); |
ARGUMENT(S):CCard* pCard | A pointer to the card to be added. | CTag* pItem | A pointer to item data if it is different than the given card tag. | int ItemSize | The size of given item. The default value is the size of CTag. |
RETURN VALUE: This function returns the new card id.
EXAMPLE:
COMMENT: This function will assign a new unique id to the given record and it will affected the original record as well.
SEE ALSO: CCard |
|