Microsoft DirectX 9.0

IAMTimelineObj::SetLocked

The SetLocked method sets the object's editing state to 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

HRESULT SetLocked(
    BOOL newVal
);

Parameters

newVal

Boolean value that specifies the object's editing state. If TRUE, the object is locked and should not be edited. If FALSE, the object is unlocked and can be edited.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also