getConnectionInterface method

int getConnectionInterface(
  1. Pointer<GUID> pIID
)

Implementation

int getConnectionInterface(Pointer<GUID> pIID) => ptr.ref.vtable
    .elementAt(3)
    .cast<
        Pointer<
            NativeFunction<Int32 Function(Pointer, Pointer<GUID> pIID)>>>()
    .value
    .asFunction<
        int Function(Pointer, Pointer<GUID> pIID)>()(ptr.ref.lpVtbl, pIID);