Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class d3drmFrameArray

Applications use the methods of the d3drmFrameArray class to organize frame objects.

public class d3drmFrameArray implements Id3drmFrameArray
{
  public void InternalSetObject(IUnknown lpdd);
  public IUnknown InternalGetObject();
  public int GetSize();
  public d3drmFrame GetElement(int index);
}

There are the following methods:
GetElement
GetSize

The d3drmFrameArray object is obtained by calling the GetPick or GetChildren method.

GetSize

public int GetSize();

Returns the number of d3drmFrame objects associated with this object.

Return Value:

Returns the number of objects.


GetElement

public d3drmFrame GetElement(int index);

Returns one of the d3drmFrame objects associated with this object.

Return Value:

Returns the d3drmFrame object if successful; null otherwise.

ParameterDescription
index Identifies the object to return. Must be a value in the range 0 to one less than the number returned by the GetSize method.



Top© 1996 Microsoft Corporation. All rights reserved.