ReleaseFuncDesc method Null safety

void ReleaseFuncDesc(
  1. Pointer<FUNCDESC> pFuncDesc
)

Implementation

void ReleaseFuncDesc(Pointer<FUNCDESC> pFuncDesc) => ptr.ref.vtable
        .elementAt(20)
        .cast<
            Pointer<
                NativeFunction<
                    Void Function(Pointer, Pointer<FUNCDESC> pFuncDesc)>>>()
        .value
        .asFunction<void Function(Pointer, Pointer<FUNCDESC> pFuncDesc)>()(
    ptr.ref.lpVtbl, pFuncDesc);