AMX 86 Procedures
K
A
DAK
215
ajbip ajbip
Purpose Initialize (Reset) One Buff er Pool
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID poolid;
int status;
.
.
status = ajbip(poolid);
AX DX
Where poolid is the pool id of the buffer pool to be initialized.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNSP = Invalid pool id
AERBTS = Buffer size defined for the pool is too small
If this error occurs, the Buffer Manager's private data has
been corrupted. You should consider this error to be fatal.
Restrictions This procedure should only be used in applications in which it is certain
that buffers will not be used or released during the initialization of the
buffer pool.
No buffer management operations or alteration of buffer contents for any
of the buffers in the pool may take place during initialization. All buffers
in the pool are initialized even if they are currently in use. Contents of
buffers will be altered.
See Also ajbia