CreateCursor function user32

int CreateCursor(
  1. int hInst,
  2. int xHotSpot,
  3. int yHotSpot,
  4. int nWidth,
  5. int nHeight,
  6. Pointer<NativeType> pvANDPlane,
  7. Pointer<NativeType> pvXORPlane,
)

Creates a monochrome cursor having the specified size, bit patterns, and hot spot.

HCURSOR CreateCursor(
  [in, optional] HINSTANCE  hInst,
  [in]           int        xHotSpot,
  [in]           int        yHotSpot,
  [in]           int        nWidth,
  [in]           int        nHeight,
  [in]           const VOID *pvANDPlane,
  [in]           const VOID *pvXORPlane
);

Implementation

int CreateCursor(int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight,
        Pointer pvANDPlane, Pointer pvXORPlane) =>
    _CreateCursor(
        hInst, xHotSpot, yHotSpot, nWidth, nHeight, pvANDPlane, pvXORPlane);