Hi,
I need my driver to know what is the Windows Version (8.0, 8.1. etc).
Is there a way to get it (run-time or during compilation)?
Hi,
I need my driver to know what is the Windows Version (8.0, 8.1. etc).
Is there a way to get it (run-time or during compilation)?
Run-time: RtlGetVersion / RtlVerifyVersionInfo
During compilation: if you use different enviroments to build for 8.0 and
8.1 maybe NTDDI_VERSION can be help you.
2016-05-30 12:36 GMT+02:00 :
> Hi,
>
> I need my driver to know what is the Windows Version (8.0, 8.1. etc).
> Is there a way to get it (run-time or during compilation)?
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: <
> http://www.osronline.com/showlists.cfm?list=ntdev>
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer>
></http:>
Julian - Thank You!
The recommended call is RtlIsNtDdiVersionAvailable
It is recommended since you usually need to ask for “is Windows new enough?”, so to have the version info as a number comparable by < = >, not as a structure of numbers.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntdev…
> Hi,
>
> I need my driver to know what is the Windows Version (8.0, 8.1. etc).
> Is there a way to get it (run-time or during compilation)?
>