Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodCopyHeader


DESCRIPTION:
Copy header content from other record.

ClassCLASS: CRecArrayHnd

PROTOTYPE(S):
bool CopyHeader(CRecArray* pOrigRecord, int HeaderSize = 0);


ARGUMENT(S):
CRecArray* pOrigRecordThe original record array to copy the header from.
int HeaderSizeThe size of the header to be copied. Set this parameter to 0 if you want to use the header size defined on pOrigRecord.


RETURN VALUE:
This function returns true if the process was successfull. Otherwise it returns false.

EXAMPLE:




COMMENT:
This function will copy header portion from given record into this record. If the supplied size is greater than current header size, only portion that fits current header will be copied. The process also reset m_SubRecordCount member on current record to 0.
Untitled Document
SearchSearch: