Sets the size of a file on the device.
- Parameters
-
| client | The client to use to set the file size. |
| handle | File handle of a previously opened file. |
| newsize | The size to set the file to. |
- Returns
- AFC_E_SUCCESS on success or an AFC_E_* error value.
- Note
- This function is more akin to ftruncate than truncate, and truncate calls would have to open the file before calling this, sadly.