Function RTFClose
RTFClose closes an open file:
int RTFClose(RTFHANDLE File);
ParametersFileMust have been assigned in a previous successful call to RTFOpen. RTFClose will write any unflushed file data to the disk (except for RTF_DEVICE_LAZY_WRITE devices) and release all resources associated with the file handle.
return valueIf the function succeeds, the return value is RTF_NO_ERROR. If the function fails, the return value is a negative error code.
General File I/O
Function RTFOpen
Function RTFRead
|