Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public interface IEnumModesCallback extends IUnknown { 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.
public void callbackEnumModes(ddSurfaceDesc desc, IUnknown Ctxt);Application-defined callback procedure.
Return Value:
No return value.
Parameter Description 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.