This function allocates and initializes the TAG_DATA structure for the application.
Parameters:
[in]
readerHandle
Handle to the RFID device.
Returns:
Pointer to newly allocated LPTAG_DATA
Remarks:
This function allocates memory for the Tag and for the Memory-bank data which is to be stored in the Tag. The allocation for memory bank data is done based on the default Memory-bank size or the Memory-bank size set using RFID_SetTagStorageSettings. TAG_DATA allocated using this function shall be used when getting read-tags using RFID_GetReadTag.