Applications use the methods of the IDirect3DRMObjectArray interface to organize Direct3DRMObject objects. For more information about Direct3DRMObject, see IDirect3DRMObject.
The IDirect3DRMObjectArray interface supports the following methods:
GetElement |
GetSize |
The IDirect3DRMObjectArray interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
AddRef |
QueryInterface |
Release |
The Direct3DRMObjectArray object is obtained by calling the IDirect3DRMInterpolator::GetAttachedObjects method.
Retrieves a specified element in a Direct3DRMObjectArray object.
Syntax
HRESULT GetElement(
DWORD index,
LPDIRECT3DRMOBJECT *lplpD3DRMObject
);
Parameters
- index
- Element in the array.
- lplpD3DRMObject
- Address that will be filled with a pointer to an IDirect3DRMObject interface.
Return Value
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible errors, see Direct3D Retained Mode Return Values.
Retrieves the number of elements contained in a Direct3DRMObjectArray object.
Syntax
DWORD GetSize( );
Return Value
Returns the number of elements.
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.