Packages
 In this topic

*Methods

 

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

 


Interface Id3dEnumDevicesCallback

public interface Id3dEnumDevicesCallback extends IUnknown
{
  // Methods
  public void callbackd3dEnumDevices(_Guid g, String devDesc,
        String devName, D3dDeviceDesc hwDevDesc,
        D3dDeviceDesc helDevDesc, IUnknown args);
}

Use with enumDevices method to set the callback function to be called for each device.

IUnknown
  |
  +--Id3dEnumDevicesCallback

Methods

callbackd3dEnumDevices

public void callbackd3dEnumDevices(_Guid g, String devDesc, String devName,
        D3dDeviceDesc hwDevDesc, D3dDeviceDesc helDevDesc, IUnknown args);

Enumerates installed Direct3D devices.

Return Value:

No return value.

ParameterDescription
g A _Guid object that contains a globally unique identifier (GUID).
devDesc A textual description of the device.
devName The device name.
hwDeviceDesc A D3dDeviceDesc object that contains the hardware capabilities of the Direct3D device.
helDeviceDesc A D3dDeviceDesc object that contains the emulated capabilities of the Direct3D device.
args Application-defined data passed to this callback function.

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.