How to Spawn Windows Process as Alternate User

Is there a way to spawn a Windows proces as a user other than the current user? On unix there is uid? Essentially something wrapping the CreateProcessAsUserA function.

There's https://docs.rs/winapi/0.3.8/winapi/um/processthreadsapi/fn.CreateProcessAsUserW.html

But I don't know if a safe wrapper exists