getImage method

int getImage(
  1. SIZE size,
  2. int flags,
  3. Pointer<IntPtr> phbm
)

Implementation

int getImage(SIZE size, int flags, Pointer<IntPtr> phbm) =>
    (ptr.ref.vtable + 3)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, SIZE size, Int32 flags,
                        Pointer<IntPtr> phbm)>>>()
        .value
        .asFunction<
            int Function(Pointer, SIZE size, int flags,
                Pointer<IntPtr> phbm)>()(ptr.ref.lpVtbl, size, flags, phbm);