getDevicePeriod method

int getDevicePeriod(
  1. Pointer<Int64> phnsDefaultDevicePeriod,
  2. Pointer<Int64> phnsMinimumDevicePeriod
)

Implementation

int getDevicePeriod(Pointer<Int64> phnsDefaultDevicePeriod,
        Pointer<Int64> phnsMinimumDevicePeriod) =>
    (ptr.ref.vtable + 9)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<Int64> phnsDefaultDevicePeriod,
                            Pointer<Int64> phnsMinimumDevicePeriod)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<Int64> phnsDefaultDevicePeriod,
                    Pointer<Int64> phnsMinimumDevicePeriod)>()(
        ptr.ref.lpVtbl, phnsDefaultDevicePeriod, phnsMinimumDevicePeriod);