Lines Matching refs:pInfo1
61 * @retval 1 if @a pInfo1 is newer/greater than @a pInfo2
62 * @retval -1 if @a pInfo1 is older/less than @a pInfo2
64 * @param pInfo1 The first version info structure.
67 DECLINLINE(int) rtNtOsVerInfoCompare(PCRTNTSDBOSVER pInfo1, PCRTNTSDBOSVER pInfo2)
69 if (pInfo1->uMajorVer != pInfo2->uMajorVer)
70 return pInfo1->uMajorVer > pInfo2->uMajorVer ? 1 : -1;
71 if (pInfo1->uMinorVer != pInfo2->uMinorVer)
72 return pInfo1->uMinorVer > pInfo2->uMinorVer ? 1 : -1;
73 if (pInfo1->uBuildNo != pInfo2->uBuildNo)
74 return pInfo1->uBuildNo > pInfo2->uBuildNo ? 1 : -1;
75 if (pInfo1->uCsdNo != pInfo2->uCsdNo)
76 return pInfo1->uCsdNo > pInfo2->uCsdNo ? 1 : -1;
77 if (pInfo1->fSmp != pInfo2->fSmp)
78 return pInfo1->fSmp > pInfo2->fSmp ? 1 : -1;
79 if (pInfo1->fChecked != pInfo2->fChecked)
80 return pInfo1->fChecked > pInfo2->fChecked ? 1 : -1;