Is there a function on windows that can do the same thing as `chroot` on linux?

There is a function chroot in Rust, which can force the running program only see limited file path. But that function only works for Linux. Is there a similar function that can do the same work for Windows?