GetDevicePeriod method

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

Implementation

int GetDevicePeriod(Pointer<Int64> phnsDefaultDevicePeriod,
        Pointer<Int64> phnsMinimumDevicePeriod) =>
    ptr.ref.vtable
            .elementAt(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);