Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public interface IDeviceUpdateCallback extends IUnknown { public void callbackDeviceUpdate(d3drmDevice f, IUnknown pArgs, int x, d3dRect Update); }
Use with AddUpdateCallback and DeleteUpdateCallback to set or remove the callback function that is called whenever a device is updated.
See also d3drmDevice.
public void callbackDeviceUpdate(d3drmDevice f, IUnknown pArgs, int x, d3dRect Update);Alerts the application whenever the device changes. This callback function is application-defined.
Return Value:
No return value.
Parameter Description f The d3drmDevice object to which this callback function applies. pArgs Application-defined data passed to this callback function. x Number of rectangles specified in the Update parameter. Update A d3dRect object that describes the area to be updated. The coordinates are specified in device units. Remarks:
When determining the order in which to call callback functions, the system searches the objects highest in the hierarchy first, and then calls their callback functions in the order in which they were created.