hwndFrom (HWND) - input

      Handle of the window from whose coordinates points are to be mapped.

      HWND_DESKTOP

        Points are mapped from screen coordinates
      Other
        Points are mapped from window coordinates.

      hwndTo (HWND) - input

        Handle of the window to whose coordinates points are to be mapped.

        HWND_DESKTOP

          Points are mapped into screen coordinates
        Other
          Points are mapped into window coordinates.

        prgptl (PPOINTL) - in/out

          Points to be mapped to the new coordinate system.

        cwpt (LONG) - input

          Number of points to be mapped.

          prgptl can be a RECTL structure, in which case this parameter should have the value 2.

          Note: This is not supported in all languages.

        rc (BOOL) - returns

          Success indicator.

          TRUE

            Successful completion
          FALSE
            Error occurred.


          [Back] [Next]