This is an example of how to use the SysFileOpenWrite function along with the FileOpenType structure.