|Microsoft DirectX 9.0|
The GetLocked method retrieves the object's editing state (locked or unlocked). A locked state indicates that the object should not be edited; an unlocked state indicates that the object can be edited. The timeline does not enforce the lock. The locked setting exists only for the convenience of the application.
GetLocked( pVal As Long )
Variable that receives the object's editing state. If the value is zero, the object is unlocked and can be edited. If the value is non-zero, the object is locked and should not be edited.
If the method fails, an error is raised.