Home |
Function RTFAddBuffers |
Function RTFAddBuffersRTFAddBuffers adds buffers to the sector buffer cache dynamically at run-time: int RTFAddBuffers(UINT Count, DWORD Flags); ParametersCountNumber of sector buffers of RTF_BUFFFER_SIZE bytes each to add to the cache. FlagsThis parameter should be zero. No flags are currently defined. return valueIf the function succeeds, it returns RTF_NO_ERROR. If it fails, the return value is a negative error code. Function RTFAddBuffers uses system driver function RTFSYSAlloc to allocate the additional sector buffers. Usually, RTFSYSAlloc is implemented using run-time system function malloc. It is not possible to reduce the size of the sector buffer cache at run-time.
|