getProperty method

int getProperty(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<PROPVARIANT> pProperty
)

Implementation

int getProperty(Pointer<PROPERTYKEY> key, Pointer<PROPVARIANT> pProperty) =>
    ptr.ref.vtable
            .elementAt(7)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<PROPERTYKEY> key,
                            Pointer<PROPVARIANT> pProperty)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<PROPERTYKEY> key,
                    Pointer<PROPVARIANT> pProperty)>()(
        ptr.ref.lpVtbl, key, pProperty);