Microsoft DirectX 9.0 |
The CreateEmptyNode method creates a new timeline object.
Use this method to create timeline objects, rather than the New keyword, because this method performs important initialization routines.
Syntax
object.CreateEmptyNode(
ppObj As AMTimelineObj,
Type As TIMELINE_MAJOR_TYPE
)
Parameters
ppObj
AMTimelineObj object that receives the new object.
Type
Member of the TIMELINE_MAJOR_TYPE enumerated type that specifies the type of object to create.
Error Codes
If the method fails, an error is raised, and Err.Number can be set to one of the following values:
Value | Description |
E_INVALIDARG | Object type is not valid. |
E_OUTOFMEMORY | Insufficient memory. |
See Also