getProcessId method

int getProcessId(
  1. Pointer<Uint32> pRetVal
)

Implementation

int getProcessId(Pointer<Uint32> pRetVal) =>
    (ptr.ref.vtable + 14)
        .cast<
          Pointer<
            NativeFunction<Int32 Function(Pointer, Pointer<Uint32> pRetVal)>
          >
        >()
        .value
        .asFunction<int Function(Pointer, Pointer<Uint32> pRetVal)>()(
      ptr.ref.lpVtbl,
      pRetVal,
    );