#include "lvkrn.h"
L_LVKRN_API L_BOOL L_VecIsLocked(pVector)
Determines whether or not the specified vector handle is locked.
Pointer to a vector handle.
Value | Meaning |
---|---|
TRUE | The specified vector handle is locked. |
FALSE | The specified vector handle is not locked. |
Locking a vector handle has precedence over locking layers within the vector handle. Therefore, if a vector handle is locked, the layers within that vector handle cannot be edited, even if the layers are not locked.
Required DLLs and Libraries
This example will determine whether the given vector handle is locked
L_INT VecIsLockedExample(pVECTORHANDLE pVector)
{
/* Check if locked */
if( L_VecIsLocked( pVector ) )
MessageBox( NULL, TEXT("Vector is locked"), TEXT("Test"), MB_OK );
else
MessageBox( NULL, TEXT("Vector is not locked"), TEXT("Test"), MB_OK );
return SUCCESS;
}