// Pfm.FormatterDispatch.SetSize public void SetSize(Pfm.MarshallerSetSizeOp op) { long openId = op.OpenId(); long fileSize = op.FileSize(); int perr; File file; perr = FileFindOpenId(openId, out file); if (perr == 0) { try { FileWrite(file, fileSize, null, 0); } catch (OutOfMemoryException) { perr = Pfm.errorNoSpace; } } op.Complete(perr); }
public void SetSize(Pfm.MarshallerSetSizeOp op) { op.Complete(Pfm.errorAccessDenied); }