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

Class d3drmDeviceArray

Applications use the methods of the d3drmDeviceArray class to organize device objects.

public class d3drmDeviceArray implements Id3drmDeviceArray
{
  public void InternalSetObject(IUnknown lpdd);
  public IUnknown InternalGetObject();
  public int GetSize();
  public d3drmDevice GetElement(int index);
}

There are the following methods:
GetElement GetSize

The d3drmDeviceArray object is obtained by calling the GetDevices method.

GetElement

public d3drmDevice GetElement(int index);

Retrieves one of the d3drmDevice objects associated with the d3drmDeviceArray object.

Return Value:

Returns the d3drmDevice object if successful, or null otherwise.

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


GetSize

public int GetSize();

Returns the number of d3drmDevice objects associated with the d3drmDeviceArray object.

Return Value:

Returns the number of objects in the array.



Top© 1997 Microsoft Corporation. All rights reserved. Terms of Use.