GetTimeCreatedAndConnected method Null safety

int GetTimeCreatedAndConnected(
  1. Pointer<Uint32> pdwLowDateTimeCreated,
  2. Pointer<Uint32> pdwHighDateTimeCreated,
  3. Pointer<Uint32> pdwLowDateTimeConnected,
  4. Pointer<Uint32> pdwHighDateTimeConnected
)

Implementation

int GetTimeCreatedAndConnected(
        Pointer<Uint32> pdwLowDateTimeCreated,
        Pointer<Uint32> pdwHighDateTimeCreated,
        Pointer<Uint32> pdwLowDateTimeConnected,
        Pointer<Uint32> pdwHighDateTimeConnected) =>
    ptr.ref.lpVtbl.value
            .elementAt(14)
            .cast<Pointer<NativeFunction<_GetTimeCreatedAndConnected_Native>>>()
            .value
            .asFunction<_GetTimeCreatedAndConnected_Dart>()(
        ptr.ref.lpVtbl,
        pdwLowDateTimeCreated,
        pdwHighDateTimeCreated,
        pdwLowDateTimeConnected,
        pdwHighDateTimeConnected);