VerSetConditionMask function kernel32

int VerSetConditionMask(
  1. int conditionMask,
  2. VER_FLAGS typeMask,
  3. int condition
)

Sets the bits of a 64-bit value to indicate the comparison operator to use for a specified operating system version attribute.

This function is used to build the dwlConditionMask parameter of the VerifyVersionInfo function.

To learn more, see learn.microsoft.com/windows/win32/api/winnt/nf-winnt-versetconditionmask.

Implementation

@pragma('vm:prefer-inline')
int VerSetConditionMask(int conditionMask, VER_FLAGS typeMask, int condition) =>
    _VerSetConditionMask(conditionMask, typeMask, condition);