SetNotifySink method

int SetNotifySink(
  1. Pointer<COMObject> pNotifySink
)

Implementation

int SetNotifySink(Pointer<COMObject> pNotifySink) => ptr.ref.vtable
    .elementAt(3)
    .cast<
        Pointer<
            NativeFunction<
                Int32 Function(Pointer, Pointer<COMObject> pNotifySink)>>>()
    .value
    .asFunction<
        int Function(Pointer,
            Pointer<COMObject> pNotifySink)>()(ptr.ref.lpVtbl, pNotifySink);