win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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