getPath method

int getPath(
  1. Pointer<Utf16> pszFile,
  2. int cch,
  3. Pointer<WIN32_FIND_DATA> pfd,
  4. int fFlags,
)

Implementation

int getPath(Pointer<Utf16> pszFile, int cch, Pointer<WIN32_FIND_DATA> pfd,
        int fFlags) =>
    (ptr.ref.vtable + 3)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> pszFile, Int32 cch,
                        Pointer<WIN32_FIND_DATA> pfd, Uint32 fFlags)>>>()
        .value
        .asFunction<
            int Function(
                Pointer,
                Pointer<Utf16> pszFile,
                int cch,
                Pointer<WIN32_FIND_DATA> pfd,
                int fFlags)>()(ptr.ref.lpVtbl, pszFile, cch, pfd, fFlags);