GetPropertyBSTR method

int GetPropertyBSTR(
  1. int uriProp,
  2. Pointer<Pointer<Utf16>> pbstrProperty,
  3. int dwFlags
)

Implementation

int GetPropertyBSTR(
        int uriProp, Pointer<Pointer<Utf16>> pbstrProperty, int dwFlags) =>
    ptr.ref.vtable
            .elementAt(3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Int32 uriProp,
                            Pointer<Pointer<Utf16>> pbstrProperty,
                            Uint32 dwFlags)>>>()
            .value
            .asFunction<
                int Function(Pointer, int uriProp,
                    Pointer<Pointer<Utf16>> pbstrProperty, int dwFlags)>()(
        ptr.ref.lpVtbl, uriProp, pbstrProperty, dwFlags);