DirectX SDK |
The DirectDrawSurface7::GetOverlayZOrdersEnum method returns a DirectDrawEnumSurfaces object that is used to enumerate the overlay surfaces on the specified destination. The overlays can be enumerated in front-to-back or back-to-front order.
object.(flags As CONST_DDENUMOVERLAYZFLAGS) _ As DirectDrawEnumSurfaces
If the method succeeds, it returns a DirectDrawEnumSurfaces object that you can then query for overlay surface z-order information.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |