Share via


DEFRAG_PARAMS (Compact 2013)

3/26/2014

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).
  • 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

See Also

Reference

FAT File System Structures
DefragVolumeEx
DEFRAG_OPTIONS
DEFRAG_RESULTS