hwndDesktop (HWND) - input

      Desktop-window handle or HWND_DESKTOP.

    hbmPointer (HBITMAP) - input

      Bit-map handle from which the pointer image is created.

      The bit map must be logically divided into two sections vertically, each half representing one of the two images used as the successive drawing masks for the pointer.

      For an icon, there are two bit map images. The first half is used for the AND mask and the second half is used for the XOR mask. For details of bit map formats, see

    fPointer (BOOL) - input

      Pointer-size indicator.

      TRUE

        The bit map should be stretched (if necessary) to the system pointer dimensions.
      FALSE
        The bit map should be stretched (if necessary) to the system icon dimensions.

      xHotspot (LONG) - input

        x-offset of hot spot within pointer from its lower left corner (in pels).

      yHotspot (LONG) - input

        y-offset of hot spot within pointer from its lower left corner (in pels).

      hptr (HPOINTER) - returns

        Pointer handle.

        NULLHANDLE

          Error
        Other
          Handle of the newly created pointer.


        [Back] [Next]