deleteInstanceAsync method

int deleteInstanceAsync(
  1. Pointer<Utf16> strObjectPath,
  2. int lFlags,
  3. Pointer<COMObject> pCtx,
  4. Pointer<COMObject> pResponseHandler,
)

Implementation

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