This topic has not yet been rated - Rate this topic

FILE_SET_SPARSE_BUFFER structure

Applies to: desktop apps only

Specifies the sparse state to be set.

Windows Server 2003 and Windows XP:  This structure is optional. For more information, see FSCTL_SET_SPARSE.

Syntax

typedef struct _FILE_SET_SPARSE_BUFFER {
  BOOLEAN SetSparse;
} FILE_SET_SPARSE_BUFFER, *PFILE_SET_SPARSE_BUFFER;

Members

SetSparse

If TRUE, makes the file sparse.

If FALSE, makes the file not sparse. Valid only on files that no longer have any sparse regions. For more information, see FSCTL_SET_SPARSE.

Windows Server 2003 and Windows XP:  A value of FALSE for this member is not supported. Specifying FALSE will cause the FSCTL_SET_SPARSE call to fail.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

WinIoCtl.h

See also

DeviceIoControl
FSCTL_SET_SPARSE

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ