Поделиться через


DEFRAG_PARAMS (Windows Embedded CE 6.0)

1/6/2010

This structure contains parameters for the DefragVolumeEx function.

Syntax

typedef struct _DEFRAG_PARAMS {
  DWORD cbSize;
  DEFRAG_OPTIONS dopt;
  DEFRAG_RESULTS dr;
  PFN_PROGRESS pfnProgress;
  PFN_MESSAGE pfnMessage;
} DEFRAG_PARAMS, *PDEFRAG_PARAMS;

Members

  • cbSize
    Set to sizeof(DEFRAG_PARAMS). Used for future expansion of the structure.
  • dopt
    DEFRAG_OPTIONS structure used to pass options for defragmenting.
  • dr
    DEFRAG_RESULTS structure used to get results from the defrag operation.
  • pfnProgress
    Callback function indicating progress.
  • pfnMessage
    Callback function used to display a message to the user.

Requirements

Header Fatutil.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

FAT File System Structures
DefragVolumeEx
DEFRAG_OPTIONS
DEFRAG_RESULTS