findFolderFromPath method

int findFolderFromPath(
  1. Pointer<Utf16> pszPath,
  2. int mode,
  3. Pointer<Pointer<COMObject>> ppkf
)

Implementation

int findFolderFromPath(
  Pointer<Utf16> pszPath,
  int mode,
  Pointer<Pointer<COMObject>> ppkf,
) => (ptr.ref.vtable + 10)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Pointer<Utf16> pszPath,
            Int32 mode,
            Pointer<Pointer<COMObject>> ppkf,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        Pointer<Utf16> pszPath,
        int mode,
        Pointer<Pointer<COMObject>> ppkf,
      )
    >()(ptr.ref.lpVtbl, pszPath, mode, ppkf);