Title | Function | Function Name [S-] | No |
format Sint32 CDC_GetFileScope (Sint32 * fid, Sint32 * infnum, Bool * drend) Input None Output fid: First file identifier held : infnum: Number of stored file information : drend: Last directory record retention flag Function value Returns an error code. Function Returns the range of file information currently held by the CD block.
現在 の Current retention file information range is the last directory record in the directory block. Notify if it contains. This allows you to determine if there are subsequent directory records.
constant name | description |
|---|---|
TRUE | Holds the last directory record. |
FALSE | The last directory record is not retained. |
Remarks Since you and your parent directory are always retained, they are not included in the number of file information.
Title | Function | Function Name [S-] | No |
format Sint32 CDC_TgetFileInfo (Sint32 fid, CdcFile * file) Input fid: File identifier (CDC_NUL_FID: Indicates all file information) Output file: File information Function value Returns an error code. Function Get file information (12 bytes) by specifying a file identifier from the range of retained file information . If CDC_NUL_FID is specified as the file identifier, all file information held by the CD block Get information (up to 254 excluding yourself and parents).Note: Immediately after issuing the Read File (CDC_ReadFile) command, the command is overwritten. Please be sure to leave at least 16.7ms to prevent it.
Example CdcFile file; / * Secure one file information storage area * / ret = CDC_TgetFileInfo (fid, & file);
: CdcFile allfile [254]; / * Secure all file information storage area * / : ret = CDC_TgetFileInfo (CDC_NUL_FID, allfile);