getGUID method

int getGUID(
  1. Pointer<GUID> pGUID
)

Implementation

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