GetCLSID method Null safety

int GetCLSID(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<GUID> pclsid
)

Implementation

int GetCLSID(Pointer<PROPERTYKEY> key, Pointer<GUID> pclsid) =>
    ptr.ref.lpVtbl.value
        .elementAt(14)
        .cast<Pointer<NativeFunction<_GetCLSID_Native>>>()
        .value
        .asFunction<_GetCLSID_Dart>()(ptr.ref.lpVtbl, key, pclsid);