Functions to see which processes lock files on Windows.
See `api.kt`.