Home |
Function RTFTruncate |
Function RTFTruncateRTFTruncate sets the current file size to the current file pointer position: int RTFTruncate(RTFHANDLE File); ParametersFileReferences the open file to be truncated. return valueIf the function succeeds, the return value is RTF_NO_ERROR. If the function fails, the return value is a negative error code. RTFTruncate sets the file size to the current file pointer and frees any allocated file space beyond the new file size.
|