Put method

int Put(
  1. Pointer<Utf16> wszName,
  2. int lFlags,
  3. Pointer<VARIANT> pVal,
  4. int Type,
)

Implementation

int Put(Pointer<Utf16> wszName, int lFlags, Pointer<VARIANT> pVal,
        int Type) =>
    ptr.ref.vtable
        .elementAt(5)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> wszName,
                        Int32 lFlags, Pointer<VARIANT> pVal, Int32 Type)>>>()
        .value
        .asFunction<
            int Function(
                Pointer,
                Pointer<Utf16> wszName,
                int lFlags,
                Pointer<VARIANT> pVal,
                int Type)>()(ptr.ref.lpVtbl, wszName, lFlags, pVal, Type);