This method is used to initialize the component for use and must be called before any other method.
- Parameters
-
cSize | [ in ] The size in bytes to make the buffer. |
fFlags | [ in ] |
pReadMonitor | [ in ] a pointer to the p6IMonitor interface to be used for locking and write notification. If this argument is NULL, the component will create it's own monitor for locking and notifications will be disabled. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | A zero size buffer was specified. |
P6R::eNoMemory | There was not enough available memory to create the buffer. |