|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.
HRESULT GetCountOfType( long Group, long *pVal, long *pValWithComps, TIMELINE_MAJOR_TYPE MajorType );
Index number of the group for which to retrieve the count.
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.
Pointer to a variable that receives the count returned in pVal plus the number of compositions searched, including this one.
Member of the TIMELINE_MAJOR_TYPE enumerated type, specifying the type of object to count.
Returns one of the following HRESULT values.
|E_INVALIDARG||Invalid group number.|
|E_POINTER||NULL pointer argument.|
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.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.