Microsoft DirectX 9.0 |
The GetCountOfType method retrieves the number of objects of the specified type that are contained in a specified group and all of its children.
Syntax
HRESULT GetCountOfType(
long Group,
long *pVal,
long *pValWithComps,
TIMELINE_MAJOR_TYPE MajorType
);
Parameters
Group
Index number of the group for which to retrieve the count.
pVal
Pointer to a variable that receives the number of objects of the specified type contained in the group and all of its virtual tracks, recursively.
pValWithComps
Pointer to a variable that receives the count returned in pVal plus the number of compositions searched, including this one.
MajorType
Member of the TIMELINE_MAJOR_TYPE enumerated type, specifying the type of object to count.
Return Value
Returns one of the following HRESULT values.
Return code | Description |
S_OK | Success. |
E_INVALIDARG | Invalid group number. |
E_POINTER | NULL pointer argument. |
Remarks
Calling this method is equivalent to calling IAMTimelineComp::GetCountOfType on the specified group. See the Remarks section of that method for more information.
Typically, an application will not call this method. It is called internally by the render engine.
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