Microsoft DirectX 9.0

AMTimelineObj.GetLocked Method

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.

Syntax

GetLocked(
    pVal As Long
)

Parameters

pVal

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.

Error Codes

If the method fails, an error is raised.

See Also