FRAGNODE
Other versions of this page are also available for the following:
8/28/2008
This structure keeps track of a fragment. If the fragment is the first one in a file, the dwPrevCluster member refers to the cluster in which its directory entry is located and the dwDirEntryOffset member refers to the byte offset of the directory entry in the cluster. Otherwise, dwPrevCluster refers to the previous cluster in the chain and dwDirEntryOffset is set to FN_NOT_FIRST_FRAG. If the fragment is part of a directory, bit 31 of dwDirEntryOffset is set. If the fragment is the last one in the file, dwNextCluster is set to EOF_CLUSTER.
Syntax
typedef struct _FRAGNODE {
DWORD dwStartCluster;
DWORD dwLength;
DWORD dwPrevCluster;
DWORD dwNextCluster;
DWORD dwDirEntryOffset;
_FRAGNODE* pNext;
} FRAGNODE, *PFRAGNODE;
Members
- dwStartCluster
Starting cluster of the chain.
- dwLength
Number of clusters in the fragment.
- dwPrevCluster
Previous cluster in the chain or cluster in which directory entry is located.
- dwNextCluster
Next cluster in the chain.
- dwDirEntryOffset
Byte offset of the directory entry into the cluster.
- pNext
Next fragmented node in the list.
Requirements
Header | defragdisk.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |