This method of the Direct3dRMViewport Class retrieves the y-offset of the start of the viewport on a device.
public int getY();
Returns the y-offset.