This method of the DirectDrawSurface Class enumerates the overlay surfaces on the specified destination. The overlays can be enumerated in front-to-back or back-to-front order.
public void enumOverlayZOrders(int flags, IUnknown args, IEnumZOrdersCallback fn);
flags | One value of DDENUMOVERLAYZ_ type. |
args | User-defined context that will be passed to the callback function for each overlay surface. |
fn | Callback interface that contains the callback function that will be called for each surface being overlaid on this surface. |