GetCLSID method

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

Implementation

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