CreateCursor

[DllImport("user32.dll", SetLastError = true)]
public static extern IntPtr CreateCursor(
   IntPtr hInst,
   int xHotSpot,
   int yHotSpot,
   int nWidth,
   int nHeight,
   byte[] pvANDPlane,
   byte[] pvXORPlane
);

Microsoft documentation: Link

Last updated