This is a method of the IDirect3dRMDevice Interface.
public Direct3dRMWinDevice getd3drmWinDevice();