Entry | |
---|---|
R0 | Overlay ID |
R1 | Window handle |
Exit | |
---|---|
- | All registers preserved |
Associates the overlay with a window. For the overlay to be displayed correctly, the owner of the window must call VideoOverlay_RedrawWindow for every redraw rectangle associated with that window. For Basic overlays, the owner must also be aware that any icons or other graphics which are rendered on top of the overlay will not be visible. Windows can appear on top of Basic overlays, but will cause VideoOverlay to fall back to software rendering for some or all of the overlay, adversely affecting performance.
Note that the window does not need to belong to the task that the overlay is associated with.