AddObjectByPath method

int AddObjectByPath(
  1. Pointer<COMObject> pNamespace,
  2. Pointer<Utf16> wszPath,
  3. int lFlags,
  4. Pointer<COMObject> pContext,
  5. Pointer<Pointer<COMObject>> ppRefreshable,
  6. Pointer<Int32> plId,
)

Implementation

int AddObjectByPath(
        Pointer<COMObject> pNamespace,
        Pointer<Utf16> wszPath,
        int lFlags,
        Pointer<COMObject> pContext,
        Pointer<Pointer<COMObject>> ppRefreshable,
        Pointer<Int32> plId) =>
    ptr.ref.vtable
            .elementAt(3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<COMObject> pNamespace,
                            Pointer<Utf16> wszPath,
                            Int32 lFlags,
                            Pointer<COMObject> pContext,
                            Pointer<Pointer<COMObject>> ppRefreshable,
                            Pointer<Int32> plId)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<COMObject> pNamespace,
                    Pointer<Utf16> wszPath,
                    int lFlags,
                    Pointer<COMObject> pContext,
                    Pointer<Pointer<COMObject>> ppRefreshable,
                    Pointer<Int32> plId)>()(ptr.ref.lpVtbl, pNamespace,
        wszPath, lFlags, pContext, ppRefreshable, plId);