The IEnumModesCallback Interface of the com.ms.directX package is used with enumDisplayModes to set the callback function to be called for each display mode exposed by the hardware.
public interface IEnumModesCallback extends IUnknown { // Methods public void callbackEnumModes(DDSurfaceDesc desc, IUnknown Ctxt); }
IUnknown | +--IEnumModesCallback