SetPath method

int SetPath(
  1. Pointer<Utf16> pszFile
)

Implementation

int SetPath(Pointer<Utf16> pszFile) => ptr.ref.vtable
        .elementAt(20)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> pszFile)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Utf16> pszFile)>()(
    ptr.ref.lpVtbl, pszFile);