3

If I understood the text correctly, Platform SDK contains an innuendo what it can:

The default data value of a sparse file is zero; however, it can be set to other values.

However, combing thru related text gave me absolutely no signs of corresponding FSCTLs which allows sets or retrieves sparse zero value. So, is there a mistake in the introduction or there are undocumented FS control codes?

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
OnTheFly
  • 2,059
  • 5
  • 26
  • 61

1 Answers1

2

Probably really poor writing. Yes,the default value is zero and you can't make the default value be anything except zero.

You can, however, change those zeros to whatever you want by WriteFile. Which, of course, is not what you are asking for.

MJZ
  • 1,074
  • 6
  • 12