#include <rtl.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ RtlGetVersion()
◆ RtlpVerCompare()
Definition at line 30 of file version.c.
31{
33 {
44 default:
45 break;
46 }
48}
#define VER_GREATER_EQUAL
IN ULONG IN UCHAR Condition
Referenced by RtlVerifyVersionInfo().
◆ RtlpVerGetCondition()
Definition at line 224 of file version.c.
226{
228
237
238
239
240
241
242
251
253
255}
_In_ ULONG _In_ ULONGLONG ConditionMask
#define VER_SERVICEPACKMINOR
#define VER_NUM_BITS_PER_CONDITION_MASK
#define VER_CONDITION_MASK
#define VER_SERVICEPACKMAJOR
Referenced by RtlVerifyVersionInfo().
◆ RtlVerifyVersionInfo()
Definition at line 55 of file version.c.
58{
64
65
66
67
68
69
70
71
73
76 {
78 }
79
81 {
83 }
84
86 {
90 if (!Comparison)
91 {
93 }
94 }
95
97 {
99 {
101 {
103 {
105 }
106 }
107 break;
108
110 {
112 {
114 }
115 break;
116 }
117
118 default:
119 {
121 }
122 }
123 }
124
126 {
130 if (!Comparison)
131 {
133 }
134 }
135
137 {
141 if (!Comparison)
142 {
144 }
145 }
146
149
151 {
157
158 if (!Comparison && !DoNextCheck)
159 {
161 }
162 }
163
164 if (DoNextCheck)
165 {
167 {
169 {
171 }
172
177
178 if (!Comparison && !DoNextCheck)
179 {
181 }
182 }
183
185 {
187 {
189 }
190
195
196 if (!Comparison && !DoNextCheck)
197 {
199 }
200
202 {
204 {
206 }
207
211
212 if (!Comparison)
213 {
215 }
216 }
217 }
218 }
219
221}
OSVERSIONINFOW VersionInfo
NTSTATUS NTAPI RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation)
#define STATUS_REVISION_MISMATCH
static BOOLEAN RtlpVerCompare(ULONG left, ULONG right, UCHAR Condition)
static UCHAR RtlpVerGetCondition(IN ULONGLONG ConditionMask, IN ULONG TypeMask)
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
◆ VerSetConditionMask()