CreateCursor method

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

Implementation

ffi.Pointer<HICON__> CreateCursor(
  ffi.Pointer<HINSTANCE__> hInst,
  int xHotSpot,
  int yHotSpot,
  int nWidth,
  int nHeight,
  ffi.Pointer<ffi.Void> pvANDPlane,
  ffi.Pointer<ffi.Void> pvXORPlane,
) {
  return (_CreateCursor ??= _dylib
      .lookupFunction<_c_CreateCursor, _dart_CreateCursor>('CreateCursor'))(
    hInst,
    xHotSpot,
    yHotSpot,
    nWidth,
    nHeight,
    pvANDPlane,
    pvXORPlane,
  );
}