SetTimes method

int SetTimes(
  1. Pointer<FILETIME> pftCreation,
  2. Pointer<FILETIME> pftWrite,
  3. Pointer<FILETIME> pftAccess
)

Implementation

int SetTimes(Pointer<FILETIME> pftCreation, Pointer<FILETIME> pftWrite,
        Pointer<FILETIME> pftAccess) =>
    ptr.ref.vtable
            .elementAt(6)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<FILETIME> pftCreation,
                            Pointer<FILETIME> pftWrite,
                            Pointer<FILETIME> pftAccess)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<FILETIME> pftCreation,
                    Pointer<FILETIME> pftWrite,
                    Pointer<FILETIME> pftAccess)>()(
        ptr.ref.lpVtbl, pftCreation, pftWrite, pftAccess);