setWorkingDirectory method

int setWorkingDirectory(
  1. Pointer<Utf16> pszDir
)

Implementation

int setWorkingDirectory(Pointer<Utf16> pszDir) => ptr.ref.vtable
    .elementAt(9)
    .cast<
        Pointer<
            NativeFunction<Int32 Function(Pointer, Pointer<Utf16> pszDir)>>>()
    .value
    .asFunction<
        int Function(
            Pointer, Pointer<Utf16> pszDir)>()(ptr.ref.lpVtbl, pszDir);