CreateCursor
The CreateCursor function creates a cursor having the specified size, bit patterns, and hot spot.
HCURSOR CreateCursor(
HINSTANCE hInst, // handle to application instance
int xHotSpot, // horizontal position of hot spot
int yHotSpot, // vertical position of hot spot
int nWidth, // cursor width
int nHeight, // cursor height
CONST VOID *pvANDPlane, // pointer to AND bitmask array
CONST VOID *pvXORPlane // pointer to XOR bitmask array
);