I see you can use

fsutil file setshortname

to force the short name of a file to something specific, but is there a way to do this programatically with the API?

If there is, it will save me a couple of weeks of work.

Thanks,
Bill