RegisterObjectBound method

int RegisterObjectBound(
  1. Pointer<COMObject> punk
)

Implementation

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