GetGUID method

int GetGUID(
  1. Pointer<GUID> pGUID
)

Implementation

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