Developer

API Reference

IDocModel_SetBufferSize()

Brew Release
Brew MP 1.0.2
See Also
- IDocModel_Write
- IDocModel_Writeable
Description
This function will set the buffer size of the IDocModel to minimize blocking of the Write/Writeable methods. An application may use this function to increase the size of the buffer so that LoadSource() and Write() will accept and read larger data inputs at one time.
Parameters
  • p
    []:
    Pointer to the IDocModel interface object.
  • cbSize
    []:
    Request size of buffer in bytes.
Interface
Prototype
   int   IDocModel_SetBufferSize(IDocModel *p, int cbSize);
Return
AEE_SUCCESS Buffer size was successfully set ENOMEMORY Out of memory error occurred while trying to allocate buffer.
Side Effect
None
Comment
None
  • Follow