#include "lvkrn.h"
L_LVKRN_API L_BOOL L_VecIsLocked(pVector)
const pVECTORHANDLE pVector; |
pointer to a vector handle |
Determines whether or not the specified vector handle is locked.
Parameter |
Description |
pVector |
Pointer to a vector handle. |
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
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Functions: |
|
Topics: |
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;
}