HRESULT GetDevices(LPDIRECT3DRMDEVICEARRAY* lplpDevArray);
Returns all the Direct3DRM devices that have been created in the system.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lplpDevArray
Address of a pointer that will be filled with the resulting array of Direct3DRM devices. For information about the Direct3DRMDeviceArray object, see the IDirect3DRMDeviceArray interface.