VER_SET_CONDITION macro (winnt.h)
Sets the bits of a 64-bit value to indicate the comparison operator to use for a specified operating system version attribute. This macro is used to build the dwlConditionMask parameter of the VerifyVersionInfo function.
Syntax
void VER_SET_CONDITION(
_m_,
_t_,
_c_
);
Parameters
_m_
A variable to be passed as the dwlConditionMask parameter of the VerifyVersionInfo function. The macro stores the comparison information in the bits of this variable.
Before the first call to VER_SET_CONDITION, initialize this variable to zero. For subsequent calls to VER_SET_CONDITION, pass in the variable used in the previous call.
_t_
A mask that indicates the member of the OSVERSIONINFOEX structure whose comparison type is being set. This value corresponds to one of the bits specified in the dwTypeMask parameter for the VerifyVersionInfo function. This parameter can be one of the following values.
_c_
The operator to use for the comparison. The VerifyVersionInfo function uses this operator to compare a specified attribute value to the corresponding value for the currently running system.
For all values of dwTypeBitMask other than VER_SUITENAME, this parameter can be one of the following values.
If dwTypeBitMask is VER_SUITENAME, this parameter can be one of the following values.
Return value
None
Remarks
Call this macro once for each bit set in the dwTypeMask parameter of the VerifyVersionInfo function.
Examples
For an example, see Verifying the System Version.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winnt.h (include Windows.h) |