hwnd (HWND) - input

      Handle of window where drawing is going to occur.

      HWND_DESKTOP

        The desk top window.
      Other
        Specified window.

      hps (HPS) - input

        Presentation-space handle.

        NULLHANDLE

          Obtain a cache presentation space.
        Other
          Presentation-space handle. This function sets its clipping region to the update region of the hwnd parameter.

        prclPaint (PRECTL) - output

          Bounding rectangle.

          Note: The value of each field in this structure must be in the range -32 768 through 32 767. The data type WRECT can also be used, if supported by the language.

          NULL

            No bounding rectangle; that is, there is no need of changing any point.
          Other
            Specifies the smallest rectangle bounding the update region, in window coordinates.

          hpsPaintPS (HPS) - returns

            Presentation-space handle.

            NULLHANDLE

              Error occurred
            Other
              Presentation-space handle.


            [Back] [Next]