FILE_SET_SPARSE_BUFFER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

typedef struct _FILE_SET_SPARSE_BUFFER {
  BOOLEAN SetSparse;
} FILE_SET_SPARSE_BUFFER, *PFILE_SET_SPARSE_BUFFER;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-winioctl-file_set_sparse_buffer)

FILE_SET_SPARSE_BUFFER structure

Description

Specifies the sparse state to be set.Windows Server 2003 and Windows XP: This structure is optional. For more information, see FSCTL_SET_SPARSE.

Members

SetSparse

If TRUE, makes the file sparse.

If FALSE, makes the file not sparse.

Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: A value of FALSE for this member is 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.

See also

DeviceIoControl

FSCTL_SET_SPARSE