Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Interface IDeviceUpdateCallback

public interface IDeviceUpdateCallback extends IUnknown
{
  // Methods
  public void callbackDeviceUpdate(Direct3dRMDevice 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.

Also see com.ms.directX.Direct3dRMDevice

IUnknown
  |
  +--IDeviceUpdateCallback

Methods

callbackDeviceUpdate

public void callbackDeviceUpdate(Direct3dRMDevice 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.

ParameterDescription
f The Direct3dRMDevice object that this callback function applies to.
pArgs The application-defined data passed to this callback function.
x The 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.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.