TAP_Hdd_GetRecInfo

Topfield Documentation

bool TAP_Hdd_GetRecInfo(byte recSlot, TYPE_RecInfo *recInfo);

It gets the recording information.

  • recSlot : the recording slot number
  • recInfo : pointer of TYPE_RecInfo where the recording information is saved.
For the more information about TYPE_RecInfo, please refer the TAP.H.

return value : TRUE = Success, FALSE = Failure

Additional Documentation

TAP_Hdd_GetRecInfo has a buffer overrun under certain circumstances related to the file being recorded. The maximum overrun seen so far is less than 128 bytes.

libutils? contains a fixit module. Simply include tapapifix.h and calls TAP_Hdd_GetRecInfo will be replaced with a version that pads recInfo with 128 bytes.