This is a method of the IDirect3dRMDevice Interface.
public void addUpdateCallback(IDeviceUpdateCallback fn, IUnknown args);