win12.hlp (Table of Contents; Topic list)
WinCreatePointerIndirect (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINPOINTERS
 
HPOINTER WinCreatePointerIndirect(hwndDesktop, pptri)
HWND hwndDesktop;      /* desktop handle                   */
PPOINTERINFO pptri;    /* pointer to structure with bitmap */
 
The WinCreatePointerIndirect function creates a pointer by using the
POINTERINFO structure. It can create a color pointer.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hwndDesktop  Identifies the desktop window. This parameter can be
             HWND_DESKTOP or the desktop window handle.
 
pptri        Points to the POINTERINFO structure that contains the bitmap
             used to create the pointer image.
 
Return Value
 
The return value is the handle of the new pointer if successful or NULL if
an error occurs.
 
Comments
 
The WinCreatePointerIndirect and WinCreatePointer functions are similar. The
difference between them is that the WinCreatePointerIndirect function can
create a color pointer; the WinCreatePointer function can create only a
black-and-white pointer.
 
See Also
 
WinCreatePointer