You misunderstand the documentation. Microsoft doesn't provide online documentation for versions of Windows that are no longer supported. Functions like SetFileSecurity have existed since Windows NT 3.1 back in 1993.
But the documentation I'm using claims that it applies to Windows 10, which stopped being supported last year.
But the documentation I'm using claims that it applies to Windows 10, which stopped being supported last year.