getTrustLevel method

int getTrustLevel(
  1. Pointer<Int32> trustLevel
)
inherited

Implementation

int getTrustLevel(Pointer<Int32> trustLevel) => (ptr.ref.vtable + 5)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Int32> trustLevel)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Int32> trustLevel)>()(
    ptr.ref.lpVtbl, trustLevel);