unlockRegion method

int unlockRegion(
  1. int libOffset,
  2. int cb,
  3. int dwLockType
)

Implementation

int unlockRegion(int libOffset, int cb, int dwLockType) => ptr.ref.vtable
        .elementAt(11)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Uint64 libOffset, Uint64 cb,
                        Uint32 dwLockType)>>>()
        .value
        .asFunction<
            int Function(Pointer, int libOffset, int cb, int dwLockType)>()(
    ptr.ref.lpVtbl, libOffset, cb, dwLockType);