QueryInterface method

int QueryInterface(
  1. Pointer<GUID> riid,
  2. Pointer<Pointer<NativeType>> ppvObject
)

Implementation

int QueryInterface(Pointer<GUID> riid, Pointer<Pointer> ppvObject) =>
    Pointer<NativeFunction<_QueryInterface_Native>>.fromAddress(
            ptr.ref.vtable.elementAt(0).value)
        .asFunction<_QueryInterface_Dart>()(ptr.ref.lpVtbl, riid, ppvObject);