RtlGetProductInfo method

int RtlGetProductInfo(
  1. int OSMajorVersion,
  2. int OSMinorVersion,
  3. int SpMajorVersion,
  4. int SpMinorVersion,
  5. Pointer<Uint64> ReturnedProductType,
)

Implementation

int RtlGetProductInfo(
  int OSMajorVersion,
  int OSMinorVersion,
  int SpMajorVersion,
  int SpMinorVersion,
  ffi.Pointer<ffi.Uint64> ReturnedProductType,
) {
  return (_RtlGetProductInfo ??=
      _dylib.lookupFunction<_c_RtlGetProductInfo, _dart_RtlGetProductInfo>(
          'RtlGetProductInfo'))(
    OSMajorVersion,
    OSMinorVersion,
    SpMajorVersion,
    SpMinorVersion,
    ReturnedProductType,
  );
}