Packages
 In this topic

*Methods

 

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

 


Interface IEnumModesCallback

public interface IEnumModesCallback extends IUnknown
{
  // Methods
  public void callbackEnumModes(DDSurfaceDesc desc, IUnknown Ctxt);
}

Use with enumDisplayModes to set the callback function to be called for each display mode exposed by the hardware.

IUnknown
  |
  +--IEnumModesCallback

Methods

callbackEnumModes

public void callbackEnumModes(DDSurfaceDesc desc, IUnknown Ctxt);

Application-defined callback procedure.

Return Value:

No return value.

ParameterDescription
desc A DDSurfaceDesc object that provides the monitor frequency and the mode that can be created. This data is read-only.
Ctxt Application-defined data that is passed to the callback function each time the function is called.

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