execMethodAsync method

int execMethodAsync(
  1. Pointer<Utf16> strObjectPath,
  2. Pointer<Utf16> strMethodName,
  3. int lFlags,
  4. Pointer<COMObject> pCtx,
  5. Pointer<COMObject> pInParams,
  6. Pointer<COMObject> pResponseHandler,
)

Implementation

int execMethodAsync(
        Pointer<Utf16> strObjectPath,
        Pointer<Utf16> strMethodName,
        int lFlags,
        Pointer<COMObject> pCtx,
        Pointer<COMObject> pInParams,
        Pointer<COMObject> pResponseHandler) =>
    (ptr.ref.vtable + 25)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<Utf16> strObjectPath,
                            Pointer<Utf16> strMethodName,
                            Int32 lFlags,
                            Pointer<COMObject> pCtx,
                            Pointer<COMObject> pInParams,
                            Pointer<COMObject> pResponseHandler)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<Utf16> strObjectPath,
                    Pointer<Utf16> strMethodName,
                    int lFlags,
                    Pointer<COMObject> pCtx,
                    Pointer<COMObject> pInParams,
                    Pointer<COMObject> pResponseHandler)>()(
        ptr.ref.lpVtbl,
        strObjectPath,
        strMethodName,
        lFlags,
        pCtx,
        pInParams,
        pResponseHandler);