+/* Object ID and allocation information (_FDID) */\r
+\r
+typedef struct {\r
+ FATFS* fs; /* Pointer to the owner file system object */\r
+ WORD id; /* Owner file system mount ID */\r
+ BYTE attr; /* Object attribute */\r
+ BYTE stat; /* Object chain status (b1-0: =0:not contiguous, =2:contiguous (no data on FAT), =3:got flagmented, b2:sub-directory stretched) */\r
+ DWORD sclust; /* Object start cluster (0:no cluster or root directory) */\r
+ FSIZE_t objsize; /* Object size (valid when sclust != 0) */\r
+#if _FS_EXFAT\r
+ DWORD n_cont; /* Size of coutiguous part, clusters - 1 (valid when stat == 3) */\r
+ DWORD c_scl; /* Containing directory start cluster (valid when sclust != 0) */\r
+ DWORD c_size; /* b31-b8:Size of containing directory, b7-b0: Chain status (valid when c_scl != 0) */\r
+ DWORD c_ofs; /* Offset in the containing directory (valid when sclust != 0) */\r
+#endif\r
+#if _FS_LOCK != 0\r
+ UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */\r
+#endif\r
+} _FDID;\r
+\r
+\r
+\r