getObject method

int getObject(
  1. Pointer<Utf16> strObjectPath,
  2. int lFlags,
  3. Pointer<COMObject> pCtx,
  4. Pointer<Pointer<COMObject>> ppObject,
  5. Pointer<Pointer<COMObject>> ppCallResult,
)

Implementation

int getObject(
        Pointer<Utf16> strObjectPath,
        int lFlags,
        Pointer<COMObject> pCtx,
        Pointer<Pointer<COMObject>> ppObject,
        Pointer<Pointer<COMObject>> ppCallResult) =>
    (ptr.ref.vtable + 6)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<Utf16> strObjectPath,
                            Int32 lFlags,
                            Pointer<COMObject> pCtx,
                            Pointer<Pointer<COMObject>> ppObject,
                            Pointer<Pointer<COMObject>> ppCallResult)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<Utf16> strObjectPath,
                    int lFlags,
                    Pointer<COMObject> pCtx,
                    Pointer<Pointer<COMObject>> ppObject,
                    Pointer<Pointer<COMObject>> ppCallResult)>()(
        ptr.ref.lpVtbl, strObjectPath, lFlags, pCtx, ppObject, ppCallResult);