openNamespace method

int openNamespace(
  1. Pointer<Utf16> strNamespace,
  2. int lFlags,
  3. Pointer<COMObject> pCtx,
  4. Pointer<Pointer<COMObject>> ppWorkingNamespace,
  5. Pointer<Pointer<COMObject>> ppResult,
)

Implementation

int openNamespace(
        Pointer<Utf16> strNamespace,
        int lFlags,
        Pointer<COMObject> pCtx,
        Pointer<Pointer<COMObject>> ppWorkingNamespace,
        Pointer<Pointer<COMObject>> ppResult) =>
    (ptr.ref.vtable + 3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<Utf16> strNamespace,
                            Int32 lFlags,
                            Pointer<COMObject> pCtx,
                            Pointer<Pointer<COMObject>> ppWorkingNamespace,
                            Pointer<Pointer<COMObject>> ppResult)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<Utf16> strNamespace,
                    int lFlags,
                    Pointer<COMObject> pCtx,
                    Pointer<Pointer<COMObject>> ppWorkingNamespace,
                    Pointer<Pointer<COMObject>> ppResult)>()(ptr.ref.lpVtbl,
        strNamespace, lFlags, pCtx, ppWorkingNamespace, ppResult);