setPath method

int setPath(
  1. Pointer<Utf16> pszFile
)

Implementation

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