다음을 통해 공유


FRAGNODE (Windows CE 5.0)

Send Feedback

This structure is used to keep track of a fragment. If the fragment is the first one in a file, then dwPrevCluster refers to the cluster where its directory entry is located and dwDirEntryOffset 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, then bit 31 of dwDirEntryOffset is set. If the fragment is the last one in the file, then dwNextCluster is set to EOF_CLUSTER.

typedef struct _FRAGNODE {
DWORD dwStartCluster;DWORD dwLength;DWORD dwPrevCluster;DWORD dwNextCluster;DWORD dwDirEntryOffset;_FRAGNODE* pNext;} FRAGNODE, *PFRAGNODE;

Members

  • dwStartCluster
    Starting cluster of chain.
  • dwLength
    Number of clusters in fragment.
  • dwPrevCluster
    Previous cluster in chain or cluster where directory entry is located.
  • dwNextCluster
    Next cluster in chain.
  • dwDirEntryOffset
    Byte offset of directory entry into cluster.
  • pNext
    Next fragmented node in list.

Requirements

OS Versions: Windows CE .NET 4.0 and later.

Header: Defragdisk.h.

See Also

DefragVolume

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.