IDirect3DRMObjectArray

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.

IDirect3DRMObjectArray::GetElement

IDirect3DRMObjectArray

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.

IDirect3DRMObjectArray::GetSize

IDirect3DRMObjectArray

Retrieves the number of elements contained in a Direct3DRMObjectArray object.

Syntax

DWORD GetSize( );

Return Value

Returns the number of elements.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.