NAME
LockBlitzLibs -- prevent access or modification to the Blitz command
libraries in memory
SYNOPSIS
success = LockBlitzLibs(accessMode);
D0 D0
BOOL success = LockBlitzLibs(WORD accessMode);
FUNCTION
This function, given the appropriate access mode, will lock the Blitz
command libraries to prevent another task from either :
a) Accessing them
b) Modifying them
INPUTS
accessMode - a valid access mode. Can be one of either :
LIBS_ACCESS_EXCLUSIVE
LIBS_ACCESS_READ
RESULT
success - TRUE or FALSE if the lock was successful. FALSE indicates either :
An EXCLUSIVE lock was present
A READ lock was present and you requested an EXCLUSIVE lock
BUGS
No validation is performed on the accessMode. Therefore, invalid accessModes
will result in unpredictable behaviour
SEE ALSO
UnlockBlitzLibs()
converted with guide2html by Kochtopf