Direct3DRMDeviceArray

Applications use the methods of the Direct3DRMDeviceArray interface to organize device objects. This section is a reference to the following methods of this interface.

The device array is zero based (0 to N-1).

The Direct3DRMDeviceArray object is obtained by calling the Direct3DRM3.GetDevices method.

Direct3DRMDeviceArray.GetElement

Direct3DRMDeviceArray

Retrieves a specified element in a Direct3DRMDeviceArray object.

Syntax

object.GetElement(index As Long) As Direct3DRMDevice3

Parts

object
Object expression that resolves to a Direct3DRMDeviceArray object.
index
Element in the array.

Return Value

Returns the element specified by the index parameter in a Direct3DRMDeviceArray object.

Error Values

For a list of possible error codes, see Direct3D Retained Mode Error Values.

Direct3DRMDeviceArray.GetSize

Direct3DRMDeviceArray

Retrieves the number of elements contained in a Direct3DRMDeviceArray object.

Syntax

object.GetSize( ) As Long

Parts

object
Object expression that resolves to a Direct3DRMDeviceArray object.

Return Value

Returns the number of elements.

Error Values

For a list of possible error codes, see Direct3D Retained Mode Error Values.


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