This function scrolls the contents of a rectangle defined by prclScroll in the window hwnd, by lDx units horizontally and lDy units vertically. All coordinates must be in device units.

Clipping takes place on the final image of the scrolling. Even if the scroll rectangle lies outside the clip rectangle, these bits are scrolled, if their destination lies within the intersection of the clip rectangle and the destination rectangle.

This function returns an RGN_* value, indicating the type of invalid region created by the scroll as returned by GpiCombineRegion. RGN_ERROR is returned if hwnd is invalid.

Note: If hwnd has style WS_CLIPCHILDREN, portions of any child window within the scroll area are scrolled. In this instance, this function must be called with flOptions SW_SCROLLCHILDREN.