216
K
A
DAK
AMX 86 Procedures
ajbtag ajbtag
Purpose Find a Buffer Pool
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup char tag[4];
AMXID poolid;
int status;
.
.
status = ajbtag(&poolid, tag);
AX DX= [DX:CX] see note
Where &poolid is a pointer to storage for the pool id of the buffer pool of
interest.
tag is a pointer to a 4-character name identifying the buffer pool of
interest.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNSP = No buffer pool with matching tag can be found
If more than one buffer pool was created with the same tag, you will get
back the pool id of one of them, but which one is not certain.
If a buffer pool with the given tag cannot be located, the pool id in poolid
will be undefined.
Buffer pool tags are 4 characters long. All characters must match your
search tag exactly.
Note A tag 'ABCD' is presented in register DX:CX with 'A' in CL and 'D' in
DH.
See Also ajbcre